You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
iboates
changed the title
ImportError: cannot import name 'dataset_util' from 'utils'
Don't know how to proceed with "adding tf_record_from_coco.py to the ./ohsome2label/ directory"
Jun 13, 2021
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"
I am finding the walkthrough for satellite image building detection quite confusing.
I am using a Google Colab instace to test it out.
I have installed the package and then downloaded the tanzania dataset
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?The text was updated successfully, but these errors were encountered: