kraina-ai / hex2vec Goto Github PK
View Code? Open in Web Editor NEWhex2vec - Context-Aware Embedding H3 Hexagons withOpenStreetMap Tags
License: MIT License
hex2vec - Context-Aware Embedding H3 Hexagons withOpenStreetMap Tags
License: MIT License
Hi,
I am trying to use the repo to carry out some downstream tasks. However, when I run the make_dataset
script, after downloading the required data (~93G in data/, ~17G in cache/), the processing part failed. Could you provide possible solutions?
Thank you!
--
Best,
Yijia
Below is the error information
Tag: waterway exists for city: Philadelphia, USA
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 29/29 [00:00<00:00, 193.89it/s]
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 54/54 [04:54<00:00, 5.46s/it]
Downloading finished
0%| | 0/54 [00:00<?, ?it/s]Tag aerialway doesn't exist for city Tirana, Albania, skipping...
0%| | 0/54 [00:00<?, ?it/s]
Traceback (most recent call last):
File "PATH_TO/hex2vec/make_dataset.py", line 114, in <module>
add_h3_indices_to_city(city, 8)
File "PATH_TO/hex2vec/src/data/make_dataset.py", line 111, in add_h3_indices_to_city
tag_gdf = tag_gdf[['unique_id', tag, 'geometry']]
File "PATH_TO/anaconda3/envs/geovex/lib/python3.10/site-packages/geopandas/geodataframe.py", line 1428, in __getitem__
result = super().__getitem__(key)
File "PATH_TO/anaconda3/envs/geovex/lib/python3.10/site-packages/pandas/core/frame.py", line 3811, in __getitem__
indexer = self.columns._get_indexer_strict(key, "columns")[1]
File "PATH_TO/anaconda3/envs/geovex/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 6108, in _get_indexer_strict
self._raise_if_missing(keyarr, indexer, axis_name)
File "PATH_TO/anaconda3/envs/geovex/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 6171, in _raise_if_missing
raise KeyError(f"{not_found} not in index")
KeyError: "['unique_id'] not in index"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.