BoChenGroup / BIRNAT

34 stars 10 forks source link

Reproducing training procedure Ubuntu 18.04 #6

Closed bryanbocao closed 1 year ago

bryanbocao commented 1 year ago

Dear Authors, thanks for sharing the code! I was trying to reproduce the training procedure on Ubuntu 18.04.

When I run python3 train.py, I got

python3 train.py 
Traceback (most recent call last):
  File "train.py", line 34, in <module>
    dataset = Imgdataset(data_path)
  File "/share/home/brcao/Repos/BIRNAT/dataLoadess.py", line 23, in __init__
    raise FileNotFoundError('path doesnt exist!')
FileNotFoundError: path doesnt exist!

Then I go back to generate the training data accordingly. First install MATLAB, download the TrainVal 480p Semi-supervised from DAVIS2017 and put it in the following folder: '/BIRNAT/data/DAVIS/',

Screenshot from 2023-02-19 18-02-16 but it doesn't seem working. Any help would be great. Thanks!

hopesala commented 1 year ago

video_path=‘./data/DAVIS’ is OK, JPEGImages/480p is not needed @bryanbocao

bryanbocao commented 1 year ago

@hopesala Thanks for your reply.

Fixed it by

video_path = '../data/DAVIS/'

where folder structure is as follows

BIRNAT/
    |data/DAVIS/
    |train/data_generation.m

Screenshot from 2023-02-25 21-17-36