voxel-flow icon indicating copy to clipboard operation
voxel-flow copied to clipboard

DuplicateFlagError: The flag 'train_dir' is defined twice.

Open samo313 opened this issue 6 years ago • 2 comments

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

samo313 avatar Nov 01 '18 13:11 samo313

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

Ng-ms avatar May 03 '19 07:05 Ng-ms

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

Marmar202 avatar Jun 30 '21 15:06 Marmar202