Giter Club home page Giter Club logo

Comments (3)

shcheklein avatar shcheklein commented on June 15, 2024

I think prepare.py expects a file. Why do you try to pass a directory into it? Where did you get this command?

from dataset-registry.

MayankGoel28 avatar MayankGoel28 commented on June 15, 2024

On running
python prepare.py
The output is:

Arguments error. Usage:
	python prepare.py data

This is directly from the code in prepare.py, here:

if len(sys.argv) != 2:
    sys.stderr.write('Arguments error. Usage:\n')
    sys.stderr.write('\tpython prepare.py data\n')
    sys.exit(1)

Running it as
python prepare.py data.xml
does not work, as data.xml does not exist to begin with, as referenced in #5

from dataset-registry.

shcheklein avatar shcheklein commented on June 15, 2024

Yep, may be we can improve the Usage section - like data -> data-file. But it expects a file, not a directory.

As I mentioned in #5 this is by definition, since data.xml is DVC-tracked. dvc get failed because of the wrong copy-paste.

Closing this, since it does not look like an error. We can create a separate ticket to improve prepare.py a bit.

from dataset-registry.

Related Issues (16)

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.