tensorflow / models

Models and examples built with TensorFlow
Other
77.05k stars 45.77k forks source link

Training problem.. Help me!! #6626

Closed smalgan closed 5 years ago

smalgan commented 5 years ago

Where is the problem?


C:\Windows\system32>activate tensorflow1

(tensorflow1) C:\Windows\system32>cd C:\tensorflow1\models\research\object_detec
tion

(tensorflow1) C:\tensorflow1\models\research\object_detection>python train.py --
logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_in
ception_v2_pets.config

WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-su
nset.md
  * https://github.com/tensorflow/addons
If you depend on functionality not listed there, please file an issue.

Traceback (most recent call last):
  File "train.py", line 51, in <module>
    from object_detection.builders import model_builder
  File "C:\Users\ASUS\Anaconda3\envs\tensorflow1\lib\site-packages\object_detect
ion-0.1-py3.7.egg\object_detection\builders\model_builder.py", line 35, in <modu
le>
    from object_detection.models import faster_rcnn_inception_resnet_v2_feature_
extractor as frcnn_inc_res
  File "C:\Users\ASUS\Anaconda3\envs\tensorflow1\lib\site-packages\object_detect
ion-0.1-py3.7.egg\object_detection\models\faster_rcnn_inception_resnet_v2_featur
e_extractor.py", line 28, in <module>
    from nets import inception_resnet_v2
ModuleNotFoundError: No module named 'nets'
Sunnycheey commented 5 years ago

Set correct PYTHONPATH.

ymodak commented 5 years ago

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!