huichen5796 / 2022-studienarbeit-hui-chen

a tool for detecting tables in image and analysing complex header
3 stars 0 forks source link

Install TF Objekt Detection API #47

Closed huichen5796 closed 2 years ago

huichen5796 commented 2 years ago

https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2.md

Clone the TensorFlow Models repository and proceed to one of the installation options.

git clone https://github.com/tensorflow/models.git

Docker Installation

# From the root of the git repository
docker build -f research/object_detection/dockerfiles/tf2/Dockerfile -t od .
docker run -it od

Python Package Installation

cd models/research
# Compile protos.
protoc object_detection/protos/*.proto --python_out=.
# Install TensorFlow Object Detection API.
cp object_detection/packages/tf2/setup.py .
python -m pip install --use-feature=2020-resolver .

beide funktionieren nicht bei mir, ich versuche so wie folgende:

# From the root of the git repository
cd models/research/object_detection/dockerfiles/tf2/
docker build -f Dockerfile -t od .
docker run -it od

f16e25e6caecd29d775c2f4da12a5de seht funktioniert

huichen5796 commented 2 years ago

image

geht es noch nicht, shiiit

huichen5796 commented 2 years ago

Feeling tensorflow so confusing, I decided to use pytorch