Giter Site home page Giter Site logo

5taku / tensorflow_object_detection_helper_tool Goto Github PK

View Code? Open in Web Editor NEW
30.0 2.0 17.0 213.78 MB

tensorflow object detection api helper tool ( custom object detection )

Python 65.20% Shell 0.09% Jupyter Notebook 34.71%
detection tfrecords tensorflow transfer-learning detection-helper labelimg

tensorflow_object_detection_helper_tool's People

Contributors

5taku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tensorflow_object_detection_helper_tool's Issues

tfgenerator.py 실행 오류

실행 환경 : Docker, Ubuntu 16.04.5 LTS , Tensorflow = 1.8.0, Python = 3.5.2
tf_generate.py 실행시
File "tfgenerator.py", line 203, in
main()
File "tfgenerator.py", line 177, in main
train, validate = xml_to_csv(logger, args)
File "tfgenerator.py", line 97, in xml_to_csv
summary = (category_dict[xml_list[i][0][3]], xml_list[i][0][3],len(tmptrain),len(tmpvalidate))
IndexError: list index out of range
와 같은 오류가 나오는데 해결 방법을 알고 싶습니다. ㅠ

tensorflow version

tensorflow 1에서는 잘 작동되지만, tensorflow.contrib이 tensorflow 2에서 사라지면서 tensorflow 2에서는 작동되지 않습니다.
capability에 추가하면 좋을 것 같습니다.

또한 tensorflow/models를 git에서 받아서 사용하는데, tensorflow/models가 업데이트되면서 tensorflow.contrib.slim은 tf-slim 패키지를 사용하게 바뀌었습니다. 이에 따라 설치할 패키지 목록에 tf-slim이 포함되야 합니다.
이런 패키지 목록은 requirement.txt를 통해서 관리하면 좋을 것 같습니다.

Transfer learning Error

when I tried to section 2. Re-training Automation Tool
I got error like below :
Traceback (most recent call last):
File "object_detection/train.py", line 47, in
import tensorflow as tf
ImportError: No module named tensorflow

My docker environment : Ubuntu 16.04.05 LTS , TF - 1.18.0 , Python - 3.5.2
Could you let me know why this happened ?

import 이슈

object_detection 디렉토리의 py파일에서의 import 이슈가 있습니다.
from object_detection import trainer
와 같이 같은 위치의 파일도 모두 상위 디렉토리를 기준으로 path가 되어 있습니다.

이에 따로 상위 디렉토리의 path를 지정해주지 않으면 import error가 발생하게 됩니다.
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
와 같이 sys.path에 추가하며 문제를 해결하거나 PYTHONPATH에 추가하는 설명이 포함되면 좋을 것 같습니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.