google object detection api error: ModuleNotFoundError: No module named 'pycocotools’

You might see this error : No module named 'pycocotools’, when you try to start train.
I refer to my solution.
Good luck!

Error:
ModuleNotFoundError: No module named 'pycocotools’

Solution :
git clone https://github.com/cocodataset/cocoapi.git
cd cocoapi/PythonAPI
make

cp -r pycocotools <path_to_object_detection_api>/models/research/


google object detection api error : object_detection/protos/model.proto:12:5: "Ssd" is not defined.

You might meet this error : "object_detection/protos/model.proto:12:5: "Ssd" is not defined.", when you try below command.

# From tensorflow/models/research/
protoc object_detection/protos/*.proto --python_out=.


I solved this error to use below work.

# Make sure you grab the latest version
curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip 

# Unzip 
unzip protoc-3.2.0-linux-x86_64.zip -d protoc3 

# Move protoc to /usr/local/bin/ 
sudo mv protoc3/bin/* /usr/local/bin/ 

# Move protoc3/include to /usr/local/include/ 
sudo mv protoc3/include/* /usr/local/include/ 

# Optional: change owner 
sudo chwon [user] /usr/local/bin/protoc 
sudo chwon -R [user] /usr/local/include/google 


refer to this url:

object_detection/protos/*.proto: No such file or directory

move to this directory :
cd models/research

and try it again
protoc object_detection/protos/*.proto --python_out=.
good luck!