Closed wuyiqii closed 2 months ago
Hi @wuyiqii , thanks you your message!
Can you please send us the full output of running main_preprocessing.py
?
Since it comprises of running multiple sub-scripts, it is possible that one of them crashed, thus not creating the dino_best_buddies_filtered.pt
file needed for the next subscript
Thanks you your message! I run main_preprocessing.py again processed a 780kb video, and here are the output: Traceback (most recent call last):
File "/share/data02/wuyiqidata/dino-tracker/./preprocessing/extract_trajectories.py", line 282, in
it seems the first error occurred when extracting the trajectories. I suspect either the path to the dataset is not correct, or the dataset folder does not contain any jpg
or png
files ?
I got this error on windows.
Problem is that line images = list(input_folder.glob("*.jpg")) + list(input_folder.glob("*.png"))
is not find images. File extract_trajectories.py.
Need to convert linux path format to windows like input_path = input_path.replace('\\', '/')
thanks @Ivandanilovich , I'm closing this issue for now. If there'll be further questions please feel free to repoen it.
First of all, thank you for your wonderful work. I tried running python ./preprocessing/main_preprocessing.py \ --config ./config/preprocessing.yaml \ --data-path,Is always unable to output the expected result correctly. Error message: FileNotFoundError: [Errno 2] No such file or directory: '/dino-tracker/dataset/pig/dino_best_buddies/ dino_best_buddies_filter.pt '. How can I solve this problem
![WeChatebf3d9b35481703c7cf7335a26284d66](https://github.com/AssafSinger94/dino-tracker/assets/96756617/b8096650-57a0-4efa-9447-98513b87b91e)