GithubHelp home page GithubHelp logo

Comments (1)

bobleegogogo avatar bobleegogogo commented on June 12, 2024

sorry for this late reply @iboates .

But now the walkthrough says that I have to "Copy tf_record_from_coco.py from this repo to the ./ohsome2label/ directory". How can I do this? The package is installed somewhere in the system's native Python directory. Do I really have to go searching for where this package was installed in site-packages to add this file?

No, in principle, you can run this "tf_record_from_coco.py" anywhere. Importantly, you will also need to copy this file "dataset_util.py" together, it was needed by "tf_record_from_coco.py". I just uploaded it with commit cd7426a.

Then you just have to specify the relative path to the data folder when running the "tf_record_from_coco.py"

$ python tf_record_from_coco.py
--label_input=#path-to-folder-tanzania
--train_rd_path=#output-file: train.record
--valid_rd_path=#output-file: valid.record

Hope this helps!

ps: Actually, the original text refers to the situation when you clone the Github repo and install it locally with "pip install --editable ."

from ohsome2label.

Related Issues (10)

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.