Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training Problem #9

Open
DavidZhangdw opened this issue Jul 27, 2021 · 8 comments
Open

Training Problem #9

DavidZhangdw opened this issue Jul 27, 2021 · 8 comments

Comments

@DavidZhangdw
Copy link

image

When I run main.py to excute training, Rasing this problem:

TypeError: can not load module pickle, currently can only support json and picke.

But I have generated train/val.Json and train/val.pickle files.

@tongtybj
Copy link
Owner

The error is KeyError of frame_size. How did you generate your Json or pickle files?

@tongtybj
Copy link
Owner

And which dataset did you use? VID, YoutubeBB, LaSOT, etc?

@tongtybj tongtybj reopened this Jul 27, 2021
@tongtybj
Copy link
Owner

Can you share your the annotation files (.json or .pickle) to me via email?

@DavidZhangdw
Copy link
Author

I generate my Json or pickle files using the methods in PySOT framework.
My training datasets contains VID, Coco, YT-BB, LaSOT and GOT-10k.
OK, I will sent the json and pickle files to you via email. Thanks~

@tongtybj
Copy link
Owner

Oh, I see.

The problem is we have a different format for recording the annotation dataset from PySOT framework. For example frame_size is a new key which is not included in PySOT one.

I recommend you to follow https://github.com/tongtybj/TrTr/blob/master/datasets/README.md , and the README.md in each dataset to generate the .json or .pickle (default is .pickle).

@DavidZhangdw
Copy link
Author

Thank you, I have a try.

@DavidZhangdw
Copy link
Author

Can you share your .json and .pickle files of youtube-bb datasets for me via email ?

@tongtybj
Copy link
Owner

Sorry for the late response.
I uploaded the curated yt_bb dataset in google drive.
Please follow the instruction in following link:
https://github.com/tongtybj/TrTr/blob/master/datasets/yt_bb/README.md#method2-download-curated-dataset-from-google-drive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants