Giter Club home page Giter Club logo

Comments (7)

glenn-jocher avatar glenn-jocher commented on May 18, 2024 1

Ah yes, be careful of the extension used here. COCO naturally downloads as 5k.part I believe, but I have the 5k.txt extension coded into codo.data. I understand your confusion. You can modify this section to point to your 5k.* file:

yolov3/test.py

Lines 27 to 30 in 68de92f

if platform == 'darwin': # MacOS (local)
test_path = data_config['valid']
else: # linux (cloud, i.e. gcp)
test_path = '../coco/5k.part'

If you are using coco.data then make sure to update these two lines as well to point to your coco directory:

yolov3/cfg/coco.data

Lines 2 to 3 in 68de92f

train=/Users/glennjocher/Downloads/DATA/coco/trainvalno5k.txt
valid=/Users/glennjocher/Downloads/DATA/coco/5k.txt

from yolov3.

CF2220160244 avatar CF2220160244 commented on May 18, 2024

i find why there is such a problem,that is in ubuntu16.04 i should use
5k.txt rather than 5k.part in test.py.

test_path = '~/coco/images/5k.txt' ###row 31

from yolov3.

TommeyChang avatar TommeyChang commented on May 18, 2024

I have tryed to download the coco dataset, but occured a problem. How I can solve it? Thank you
get_coco_dataset.sh: 31: get_coco_dataset.sh: Syntax error: "(" unexpected

from yolov3.

CF2220160244 avatar CF2220160244 commented on May 18, 2024

thanks! @glenn-jocher

from yolov3.

jaelim avatar jaelim commented on May 18, 2024

This solution still does not resolve the same problem I'm having.

from yolov3.

jaelim avatar jaelim commented on May 18, 2024

The difficulty I'm having is that there are many hard coded directory paths in dataset.py that are conflicting with my data directory defined in my cfg file.

Also, the platform check in training.py is probably not even necessary.

from yolov3.

glenn-jocher avatar glenn-jocher commented on May 18, 2024

I've resolved this issue now:

  • *.part files are the local image paths (with respect to the *.part file)
  • *.txt files are the absolute image paths

from yolov3.

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.