I have found instructions on installations but despite setting sys path it gives me error saying No such file or directory: 'content/drive/MyDrive/TensorFlow/models/research'
This is my entire code from cloning repository to setting path:
%cd /content/drive/My Drive/Tensorflow
!git clone https://github.com/tensorflow/models.git
!apt-get install protobuf-compiler python-lxml python-pil
!pip install Cython pandas tf-slim lvis
%cd /content/drive/My Drive/Tensorflow/models/research
!protoc object_detection/protos/*.proto --python_out=.
import os
import sys
os.environ['PYTHONPATH']+=":/content/drive/MyDrive/TensorFlow/models"
sys.path.append("/content/drive/MyDrive/TensorFlow/models/research")
sys.path.append('/content/drive/MyDrive/TensorFlow/models/research/slim')
print("done")