raccoon_dataset
raccoon_dataset copied to clipboard
in <module> flags = tf.app.flags AttributeError: module 'tensorflow' has no attribute 'app'
tf_version= 2.4.0 how can i solve this problem? please help!
I'm using tf 2.2 and having the same issue
So I was able to resolve this issue by just running the command on the IDE. I have vscode.
@liamhan0905 i use vscode too! and the error i got is from vscode!.. would you like to share how did you solve it? or how can I contact you?
happy to help. Let's keep the chat on here so others can also take a look if they have similar issues. Below are the code that I'm running on vscode. I'm using a virtualenv but that shouldn't matter too much
run the code for test data
python generate_tfrecord.py --csv_input=data/test_labels.csv --output_path=data/test.record --image_dir=images/
run the code for train data
python generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=data/train.record --image_dir=images/