-
Notifications
You must be signed in to change notification settings - Fork 122
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
Loading Data for Tracking #113
Comments
Hi! I am working on this too. I think I am going to execute track.py on total train set will do that tracking like in Demo, though I have to generate annotation for the whole train data again. |
I managed to load val_dataset for tracking during training and then do tracking for test data separately. If you generated COCO annotations from "src/generate_coco_from_mot17.py," for the whole training data and split it further into training and validation data, you don't need to create another annotation for tracking on validation data provided they are sequential. |
You did mean, tracking(or testing) inside the training phase. I thought that you wanted to use the trained model, after finished the whole training. Like after 20 epochs. Glad to hear yours went well, bc I am facing some error in validation step. :( (opened up another issue) |
I tracked separate cross-validation data during the training phase. After the whole training was completed, I used the optimal MOTA model for tracking separate test data. In the original code, the dataset_name = 'MOT17-ALL-ALL' in track.yaml is found inside the DATASET[name], but for yours, the folder structure is not the same. Also, you need to change how the self._data is loaded during training and testing. You don't want to concatenate the validation data and testing data. For this, add a separate argument in TrackFactoryDataset. Something like the following
|
Thank you so much for the amazing advice. |
@insookim43 did you change the code and evaluated the test data? |
Yes, I changed factory.py. I made DATASET[name] return CUSTOMDATA_Wrapper Instead of returning using Mot17_wrapper.
And I made customdata_wrapper.py that works without dets, customdata_sequence.py, It’s largely based on MOT17Wrapper. Regarding handling how the self._data is loaded during training and testing, It's not done yet. I'll be looking into this just after handling the error from another part of the model. My model consumes a lot of memory and just had stopped after 20 epochs, but the model have been trained. |
Does anyone have any idea about loading a custom dataset for tracking scenarios?
I managed to load a dataset for the detection scenario by modifying "python src/generate_coco_from_mot.py," but I am not sure how to load a sequential dataset for tracking.
I just have one sequential set of data for training and one for testing. The training dataset is further divided into two other sequential datasets using the
How do I perform tracking for the cross-validation dataset in this scenario?
The dataset folder format is like this
The text was updated successfully, but these errors were encountered: