tensorflow / tensorflow/models

ImportError: cannot import name 'preprocessor_pb2'

Open
#7,896 2 comments 0 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Jun 19, 2020.

models:research:odapi type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

CUDA:9
cuDNN:7
tensorflow-gpu:1.9
GPU: NVIDIA 940
I run :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 49, in
from object_detection import trainer
File "C:\tensorflow1\models\research\object_detection\trainer.py", line 27, in
from object_detection.builders import preprocessor_builder
File "C:\tensorflow1\models\research\object_detection\builders\preprocessor_builder.py", line 21, in
from object_detection.protos import preprocessor_pb2
ImportError: cannot import name 'preprocessor_pb2'
Help me!!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.