hkchengrex / MiVOS

[CVPR 2021] Modular Interactive Video Object Segmentation: Interaction-to-Mask, Propagation and Difference-Aware Fusion. Semi-supervised VOS as well!
https://hkchengrex.com/MiVOS/
MIT License
469 stars 64 forks source link

Getting "ValueError: Davis root folder must be named "DAVIS" Error when i try run eval_interactive_davis.py #18

Closed be-redAsmara closed 3 years ago

be-redAsmara commented 3 years ago

Getting "ValueError: Davis root folder must be named "DAVIS" Error when i try run eval_interactive_davis.py

Traceback (most recent call last): File "/home/bereket/Desktop/IRCAD-Data/MiVOS/MiVOS-MiVOS-STCN/eval_interactive_davis.py", line 76, in with DavisInteractiveSession(davis_root=davis_path+'/trainval', report_save_dir='../output', max_nb_interactions=8, max_time=8*30) as sess: File "/home/bereket/anaconda3/envs/ivos/lib/python3.9/site-packages/davisinteractive/session/session.py", line 89, in enter samples, max_t, max_i = self.connector.start_session( File "/home/bereket/anaconda3/envs/ivos/lib/python3.9/site-packages/davisinteractive/connector/local.py", line 29, in start_session self.service = EvaluationService(davis_root=davis_root) File "/home/bereket/anaconda3/envs/ivos/lib/python3.9/site-packages/davisinteractive/evaluation/service.py", line 27, in init self.davis = Davis(davis_root=davis_root) File "/home/bereket/anaconda3/envs/ivos/lib/python3.9/site-packages/davisinteractive/dataset/davis.py", line 93, in init raise ValueError('Davis root folder must be named "DAVIS"') ValueError: Davis root folder must be named "DAVIS"

hkchengrex commented 3 years ago

You are probably using a different version of davis interactive. Install this: https://github.com/albertomontesg/davis-interactive

be-redAsmara commented 3 years ago

I am using the 1.0.4 version which is the same as the link you shared. Maybe you can create .yml file for the libraries you are using.

hkchengrex commented 3 years ago

This issue has been covered and fixed here: https://github.com/albertomontesg/davis-interactive/issues/31 I don't think that line in your stack trace still even exists anymore.

be-redAsmara commented 3 years ago

Thank you for the support. And really nice work.