Giter VIP home page Giter VIP logo

Comments (5)

lars76 avatar lars76 commented on May 28, 2024 1

I only have linux, so I cannot reproduce it. Basically the error just says that there is an empty line in the csv file. Check the constant TRAIN_CSV in train_model.py. The problem might be "../train.csv", just use an absolute path e.g. "C://your_csv.csv"

from object-localization.

HuinaXu avatar HuinaXu commented on May 28, 2024

This issue happened only when I run the code on Windows with tensorflow 1.10.0. It did not happen when I run code on iOS.

from object-localization.

lars76 avatar lars76 commented on May 28, 2024

You are using an old version of object-localization but a new version of train.csv/validation.csv. Either regenerate the data using the old version, or update train_model to the new version.

from object-localization.

HuinaXu avatar HuinaXu commented on May 28, 2024

I tried again using both 08/12 version and latest version running on Windows. I made sure keep the version consistent for generate_dataset.py and train_model.py. However, I got similar issues from both version.

It seems to me it is windown specific. Also, I could print 5 values instead of 0 from the enumerate(reader) without problem.

from object-localization.

HuinaXu avatar HuinaXu commented on May 28, 2024

@lars76 , you are right. I deleted the empty rows in the csv file and now it also works on windows.

from object-localization.

Related Issues (20)

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.