Open alperzorlu opened 6 years ago
Did you set the correct path?? If not, you should refer to this
yes again run to path is work, but ı have to another problem :(
(tensorflow1) C:\tensorflow1\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
WARNING:tensorflow:From C:\Users\Alper Z\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py:126: main (from main) is deprecated and will be removed in a future version.
Instructions for updating:
Use object_detection/model_main.py.
W1027 16:43:21.643006 16784 tf_logging.py:126] From C:\Users\Alper Z\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py:126: main (from main) is deprecated and will be removed in a future version.
Instructions for updating:
Use object_detection/model_main.py.
WARNING:tensorflow:From C:\tensorflow1\models\research\object_detection\legacy\trainer.py:265: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
W1027 16:43:21.939810 16784 tf_logging.py:126] From C:\tensorflow1\models\research\object_detection\legacy\trainer.py:265: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
Traceback (most recent call last):
File "train.py", line 184, in
What is the tensorflow version? and other environments also. Sometimes, this can be a problem caused by incompatible versions.
According to this repository, Last updated: 9/26/2018 with TensorFlow v1.10.
tensorflow 1.8.0 libprotubuf : 3.5.2 zlip 1.2.11 protobuf 3.5.2
and now updated tensorflow version to 1.9.0
Hmm, I think there are three checks to try
Is there any other non-English character in your path?
Did you installed tensorflow-gpu, not just tensorflow.
Finally, you must make sure that nothing is missing from the installation process.
Actually, I haven't encountered this errors before, but it does not seem to import properly.
so ı have check you say 1-2-3- after ı agaın run to code now is another error message :
(tensorflow1) C:\tensorflow1\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
Traceback (most recent call last):
File "train.py", line 51, in
Did you reboot the computer? The path you set previously seem to be removed.
okay now is restarting..
ı have same problem.. pls help me on teamviewer ?
copy and paste (C:\TensorFlow\models\research\slim) slim content folder in
C:\ProgramData\Anaconda3\envs\tensorflow1\Lib\site-packages\object_detection-0.1-py3.5.egg\
Hi, check this link https://youtu.be/nZUxoHPFf4w
it is very simple,.,.,., you have to export the python path from( tf1.12\model\research folder)
in windows
set PYTHONPATH=C:\Users\kumar\Desktop\tf1.12\model;C:\Users\kumar\Desktop\tf1.12\model\research;C:\Users\kumar\Desktop\tf1.12\model\research\slim
for ubuntu:
export PYTHONPATH=C:\Users\kumar\Desktop\tf1.12\model;C:\Users\kumar\Desktop\tf1.12\model\research;C:\Users\kumar\Desktop\tf1.12\model\research\slim
(tensorflow1) C:\tensorflow1\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config Traceback (most recent call last): File "train.py", line 51, in
from object_detection.builders import model_builder
File "C:\Users\Alper Z\Anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\builders\model_builder.py", line 30, in
from object_detection.models import faster_rcnn_inception_resnet_v2_feature_extractor as frcnn_inc_res
File "C:\Users\Alper Z\Anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\models\faster_rcnn_inception_resnet_v2_feature_extractor.py", line 28, in
from nets import inception_resnet_v2
ModuleNotFoundError: No module named 'nets'
ı have problem this error :(