Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Object API\models\research\object_detection>python train.py --train_dir=training/ --pipeline_config_path=training/ssd_mobilenet_v1_pets.config --logtostderr #9705

Closed
Homayra22 opened this issue Feb 5, 2021 · 9 comments
Assignees
Labels

Comments

@Homayra22
Copy link

(object) C:\Users\homay\OneDrive\Documents\Object API\models\research\object_detection>python train.py --train_dir=training/ --pipeline_config_path=training/ssd_mobilenet_v1_pets.config --logtostderr
Traceback (most recent call last):
File "C:\Users\homay\OneDrive\Documents\Object API\models\research\object_detection\train.py", line 48, in
import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'

@ravikyram ravikyram added models:research models that come under research directory stat:awaiting response Waiting on input from the contributor labels Feb 5, 2021
@ravikyram
Copy link

@Homayra22

What is your cpu make/model?
I suspect that your cpu does not support AVX instructtion sets.See hardware requirements.
Check if your Python is for 32- or 64-bit installation?. IT should be 64 bit.
Also, can you create a fresh environment and then try to install Tensorflow. and let us know if the issue still persists. Thanks!

@Homayra22
Copy link
Author

Homayra22 commented Feb 5, 2021

@ravikyram
My CPU is Corei5, 8 gm RAM.
I am using Tensor flow 1.12
My Python is 3.8- 64 bit
I am trying to create a new environment for my anaconda tensor flow. In the anaconda navigator the available tensor flow package is 2.3.0 but I require 1.12 or 1.15. Can you please help me how can I install tensor flow 1.12 or 1.15 in anaconda navigator?

@tensorflowbutler tensorflowbutler removed the stat:awaiting response Waiting on input from the contributor label Feb 7, 2021
@ravikyram
Copy link

@Homayra22

Please, see tested build configurations for windows and linux . Please try with python 3.6 and see if the issue still persists. Thanks!

@ravikyram ravikyram added the stat:awaiting response Waiting on input from the contributor label Feb 8, 2021
@Homayra22
Copy link
Author

@ravikyram

Hi, After trying here for so long hours, I have moved to another tutorial. I am facing a problem when training a custom model

tensorflow.python.framework.errors_impl.InvalidArgumentError: NewRandomAccessFile failed to Create/Open: C:\Tensorflow\workspace raining_demonnotations\label_map.pbtxt : The filename, directory name, or volume label syntax is incorrect.
; no protocol option

I have already checked label_map.pbtxt file. The command is written properly.

@ravikyram
Copy link

@Homayra22

Please, refer similar issue #2215 and see if it helps you. Thanks!

@tensorflowbutler tensorflowbutler removed the stat:awaiting response Waiting on input from the contributor label Feb 11, 2021
@kumariko kumariko added models:research:odapi ODAPI and removed models:research models that come under research directory labels Oct 18, 2021
@kumariko
Copy link

@Homayra22 As you are using an older version of tensorflow(1.x) which is officially considered as end of life. We recommend that you upgrade to 2.6 which is latest stable version of TF and let us know if the issue still persists in newer versions. refer issue. Thanks!

@kumariko kumariko added the stat:awaiting response Waiting on input from the contributor label Oct 18, 2021
@google-ml-butler
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

@google-ml-butler
Copy link

Closing as stale. Please reopen if you'd like to work on this further.

@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants