You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "create_cityscapes_tf_record.py", line 108, in main
assert FLAGS.output_dir, 'output_dir missing.'
AssertionError: output_dir missing.
I have the problem in running create_create_cityscapes_tf_record.py
First I change :
import tensorflow as tf
to:
import tensorflow.compat.v1 as tf
Because I use tensorflow 2.2
Is there any error in this way ?
The text was updated successfully, but these errors were encountered:
output_dir is which directory you want to store the TFRecord output, you can simply use --output_dir ./output.
Just set output_dir is not enough, you also need to specify the directory of --input_pattern, --annot_pattern, and --cityscapes_dir, each of this directory depend on where your dataset been put.
Detailed explanations of those arguments are all in the create_cityscapes_tf_record.py.
File "create_cityscapes_tf_record.py", line 108, in main
assert FLAGS.output_dir, '
output_dir
missing.'AssertionError:
output_dir
missing.I have the problem in running create_create_cityscapes_tf_record.py
First I change :
import tensorflow as tf
to:
import tensorflow.compat.v1 as tf
Because I use tensorflow 2.2
Is there any error in this way ?
The text was updated successfully, but these errors were encountered: