Closed yashdeep01 closed 3 years ago
Any luck with that? I have been working on an updated ImageDataset that should be easier to use.
Thanks for the response. I made a few tweaks locally on the code and now it works for me. However I was looking for a way to make my depth-maps scale aware. While you are updating ImageDataset, could you provide some implementation for VelSupModel to use it for custom images? This would greatly help me in my work. Thanks.
@yashdeep01 I just ran into this exact same issue (coincidentally, I'm also even using Blackvue images :) ). What tweaks did you end up making that fixed this?
For anyone else that might run into this issue - the 'Image dataset' does not expect a file with the list of training/val/test images. It instead directly reads all of the files in the defined directory and subdirectories. The split: ['{:09}']
line in the config is a formatting technique used when the data is being prepped. You should edit 09
to match the number of digits used in your file names. ie. My files use 6 digits ('000000.jpg') so I edited the the line to be split: ['{:06}']
Thanks for the response. I made a few tweaks locally on the code and now it works for me. However I was looking for a way to make my depth-maps scale aware. While you are updating ImageDataset, could you provide some implementation for VelSupModel to use it for custom images? This would greatly help me in my work. Thanks.
Hallo, i also want to train my custom data but i got the same error. Can i know or can u more explain how you tweak locally for this problem? thanks:)
Hi, firstly thanks a lot for providing the implementation of the model!
I am trying to train the self-supervised model with my custom images. I am not using a docker here, and my environment seems to be set up well (since
python3 scripts/train.py overfit_kitti.yaml
is working fine). However, when I am using my custom dataset, by running this command:I get
ZeroDivisionError: division by zero
. The full error given below also enlists the config params used:It does not seem to read any image from the directory provided, particularly in the training dataset, even though the path is the same in train/val/test, i.e.
/home/ec2-user/SageMaker/packnet-sfm/data/datasets/blackvue_images/
. This directory contains 100 images. Can you please help resolve this?Side query: Do splits
.txt
files play a role inimage_dataset.py
?