Skip to content

Unable to install object_detection package in object_detection_tutorial.ipynb #10404

@bwieciech

Description

@bwieciech

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am using the latest TensorFlow Model Garden release and TensorFlow 2.
  • I am reporting the issue to the correct repository. (Model Garden official or research directory)
  • I checked to make sure that this issue has not already been filed.

1. The entire URL of the file you are using

https://github.com/tensorflow/models/blob/master/research/object_detection/colab_tutorials/object_detection_tutorial.ipynb

2. Describe the bug

Code cell

%%bash 
cd models/research
pip install .

raises error: ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

3. Steps to reproduce

  1. Navigate to https://github.com/tensorflow/models/blob/master/research/object_detection/colab_tutorials/object_detection_tutorial.ipynb
  2. Click Run in Google Colab
  3. When in Google Colab, click Runtime -> Run all

4. Expected behavior

The notebook executes without error and outputs inference results of a pretrained model.

5. Additional context

N/A

6. System information

Google Colab

- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- Mobile device name if the issue happens on a mobile device:
- TensorFlow installed from (source or binary):
- TensorFlow version (use command below):
- Python version:
- Bazel version (if compiling from source):
- GCC/Compiler version (if compiling from source):
- CUDA/cuDNN version:
- GPU model and memory:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions