liuziwei7 / voxel-flow

Video Frame Synthesis using Deep Voxel Flow (ICCV 2017 Oral)
https://liuziwei7.github.io/projects/VoxelFlow
215 stars 50 forks source link

DuplicateFlagError: The flag 'train_dir' is defined twice. #10

Open samo313 opened 5 years ago

samo313 commented 5 years ago

Hello thanks for sharing your nice code. I have a problem while I try to run "voxel_flow_train.py" the below error occurred. would you please give me some advice to solve this problem?

File "C:\ProgramData\Anaconda3\lib\site-packages\absl\flags_defines.py", line 82, in DEFINE flag_values, module_name)

File "C:\ProgramData\Anaconda3\lib\site-packages\absl\flags_defines.py", line 104, in DEFINE_flag fv[flag.name] = flag

File "C:\ProgramData\Anaconda3\lib\site-packages\absl\flags_flagvalues.py", line 427, in setitem raise _exceptions.DuplicateFlagError.from_flag(name, self)

DuplicateFlagError: The flag 'train_dir' is defined twice. First from F:/voxel-flow-master/voxel_flow_train.py, Second from F:/voxel-flow-master/voxel_flow_train.py. Description from first occurrence: Directory where to write event logs and checkpoint.

thanks

Ng-ms commented 5 years ago

did you find solution for it? i am facing the same problem

Marmar202 commented 3 years ago

I'm getting the same error, any solution would be appreciated!