Comments (1)
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)
- requests.exceptions.ConnectionError HOT 4
- Copy-paste error in readme HOT 1
- Mistake in building detection config.yaml HOT 2
- shapely install in Windows HOT 1
- label erro with dev branch HOT 2
- ERROR ConnectionError when requesting from the server
- walkthrough setup.md tf version and geopandas installation error and fix. HOT 2
- Error in `ohsome2label image` command with Sentinel image from SentineHub HOT 5
- Buffering lines for segmentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ohsome2label.