GIScience / GIScience/ohsome2label

Don't know how to proceed with "adding tf_record_from_coco.py to the ./ohsome2label/ directory"

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
53
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I am finding the [walkthrough for satellite image building detection](https://github.com/GIScience/ohsome2label/blob/master/walkthrough/README.md) quite confusing.

I am using a Google Colab instace to test it out.

I have installed the package and then downloaded the tanzania dataset

```
!pip install ohsome2label
!rm -r tanzania
!ohsome2label --config config.yaml --schema schema.yaml vector
!ohsome2label --config config.yaml --schema schema.yaml label
!ohsome2label --config config.yaml --schema schema.yaml image
!ohsome2label --config config.yaml --schema schema.yaml visualize -t overlay
```

This works, I have the data downloaded & visualized properly.

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.