scutpaul / DANet

30 stars 3 forks source link

Hello! Why did I get a evaluation score instead of predicted video? #5

Closed 459737087 closed 2 years ago

459737087 commented 2 years ago

I was so confused that there is not any video generating. and I received the evaluation score 截屏2021-12-22 下午4 56 40

scutpaul commented 2 years ago

Hi, you can get the predicted maps of the test video in: https://github.com/scutpaul/DANet/blob/f0bc57d9b2641c4dda9ce70e2c6f240ce2789069/test_DAN.py#L162

459737087 commented 2 years ago

I try it,but it doesn't work , in for index, data in enumerate(test_dataloader): this code didn't work,there is not any mask predicted. and in YoutubeVOS.py, getitem function didn't work

scutpaul commented 2 years ago

Hi, you should be able to read and test the data by following the instructions. You can do the following checks:

  1. Whether the dataset is downloaded and extracted to the appropriate path (including labels and images)
  2. Check whether the path of the project is changed to your local path: https://github.com/scutpaul/DANet/blob/f0bc57d9b2641c4dda9ce70e2c6f240ce2789069/libs/config/DAN_config.py#L10
  3. Check if ann_file has been read: https://github.com/scutpaul/DANet/blob/f0bc57d9b2641c4dda9ce70e2c6f240ce2789069/libs/dataset/YoutubeVOS.py#L63

If you still have questions after checking, please feel free to contact me!