AsuradaYuci / SCAN_pytorch

support pytorch>=0.4
7 stars 1 forks source link

data path/directory structure #3

Open bmiftah opened 5 years ago

bmiftah commented 5 years ago

Hi , Can you please explain about the directory structure of the datasets - ? It is not clear from the project structure where to put them .. ( For example iLIDS-VID and ilidsvidsequence .. ) I am getting error every time I run the code ..it looks the model is getting path from self.root and append some string to it .. I download the original datasets for iLIDS-VID and the sequence too.

I got such errors as - ... /video_reid_mars/data/ilidsvidsequence/others/00000150_01_0060.png' - I dont know where this path is coming .. what does the folder 'others' in this path contain ?

sorry but it makes it hard to run the model even with all dataset already downloaded .. I appreciate in advance

AsuradaYuci commented 5 years ago

For example: parser.add_argument('-d', '--dataset', type=str, default='ilid1',choices=['ilid1']) # dataset file parser.add_argument('--data-dir', type=str, metavar='PATH', default=osp.join('/home/ycy/Desktop/data/')) # absolute path 1 we make a dir named "raw" in "/home/ycy/Desktop/data/ilid1", and put the download image and optical flow dataset in "raw" dir. =====》 show in the pics. Then, if we run the code, it will extract the files. 3 And it will creat two more directorys named "others"(put all optical flow data in here) and "images"(put all images data in here). 2

bmiftah commented 5 years ago

@AsuradaYuci Thank you so much for the explanation ...I am fixing the directory based on your guide . Just a little issue with tar file for epicflow_ilids being unable to get extracted due to some error "unexpected end of data" - - and missing file such as - train-test people splits/train_test_splits_ilidsvid.mat in extracted file could it be corrupt download ? I will redo and see ..any help is appreciated as ever !