TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10 icon indicating copy to clipboard operation
TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10 copied to clipboard

when i'm run training

Open ektavyas opened this issue 8 years ago • 8 comments

Traceback (most recent call last): File "train.py", line 51, in from object_detection.builders import model_builder File "C:\Users\ektav\Anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.5.egg\object_detection\builders\model_builder.py", line 31, in from object_detection.models import faster_rcnn_inception_resnet_v2_feature_extractor as frcnn_inc_res File "C:\Users\ektav\Anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.5.egg\object_detection\models\faster_rcnn_inception_resnet_v2_feature_extractor.py", line 28, in from nets import inception_resnet_v2 ImportError: No module named 'nets'

ektavyas avatar Aug 11 '18 05:08 ektavyas

Try to set PYTHONPATH correctly: (tensorflow1) C:> set PYTHONPATH=C:\tensorflow1\models;C:\tensorflow1\models\research;C:\tensorflow1\models\research\slim

mzh1993 avatar Aug 11 '18 06:08 mzh1993

it's not working

ektavyas avatar Aug 11 '18 07:08 ektavyas

I created a virtual environment tensorflow1 according to the tutorial, and then encountered a lot of errors, just like you. Then I created it directly in the Anaconda boot environment and it succeeded.

mzh1993 avatar Aug 11 '18 07:08 mzh1993

anaconda boot environment is already set during installation.. but it's not working

ektavyas avatar Aug 11 '18 08:08 ektavyas

Is it working properly in your boot environment? If not, checking your CPU, tensorflow 1.6.0 or later does not support old CPU.Try to install the tensorflow 1.5.0.

mzh1993 avatar Aug 11 '18 08:08 mzh1993

Successfully installed setuptools-39.1.0 tensorflow-1.10.0

ektavyas avatar Aug 11 '18 11:08 ektavyas

its seems that the pre-trained model haven't copied in object-detection folder.

download a pre-trained model in model zoo page and extract it in object-detection folder.

cheers...

asxasxdscsd avatar Aug 16 '18 09:08 asxasxdscsd

it's done and when i 'm configure my training data it's run properly but when i am jump on next step i.e when i am run

python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config

this command it show error

On Thu, Aug 16, 2018 at 2:41 PM, nima farhadi [email protected] wrote:

its seems that the pre-trained model haven't copied in object-detection folder.

download a pre-trained model in model zoo page and extract it in object-detection folder.

cheers...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10/issues/119#issuecomment-413478869, or mute the thread https://github.com/notifications/unsubscribe-auth/Am2AeVGWp4JpsLFP1Ulse_9ZQxLfLoP6ks5uRTdWgaJpZM4V5C_a .

ektavyas avatar Aug 17 '18 11:08 ektavyas