Comments (14)
I had same issue, and I referenced @turboxin 's comment.
Actually 2 lines had a problem to compile.
=>
from waymo_open_dataset.utils import frame_utils
from waymo_open_dataset import dataset_pb2 as open_dataset
and I ran commands on terminal
=>
$ protoc ./waymo_open_dataset/dataset.proto -- python_out=.
$ protoc ./waymo_open_dataset/label.proto -- python_out=.
After ran them, change directory to waymo_open_dataset(master)/waymo_open_dataset
Now, you can see dataset_pb2.py and label_pb2.py files exist.
from waymo-open-dataset.
@SagnikD95 you need to install protobuf and run protoc ./waymo_open-dataset/dataset.proto --python_out=.
from waymo-open-dataset.
- Try to run:
pip3 install --upgrade pip
manylinux pip package needs a recent pip version
(we only support python2.7, python3.5, python3.6)
- If you have a different python version or an os not supported, try to build the pip package on your own. something like:
export PYTHON_VERSION=3 && ./pip_pkg_scripts/build.sh
from waymo-open-dataset.
from waymo-open-dataset.
did you install pip package output by build.sh? something like:
pip (or pip3) install ${WHEEL_FILE} --user
note that if you do not install the pip package, it can also work. but you need to copy the proto generated files to waymo_open_dataset dir.
See the tutorial
https://github.com/waymo-research/waymo-open-dataset/blob/r1.0/tutorial/tutorial.ipynb
from waymo-open-dataset.
from waymo-open-dataset.
Can you copy/paste the error msg and all the commands you used?
- make sure you have installed the package.
from waymo-open-dataset.
from waymo-open-dataset.
-
You cannot install waymo-open-dataset because you cannot upgrade your pip.
-
You did not install the pip package after './pip_pkg_scripts/build.sh'. You need to do something like
pip3 install $YOUR_PIP_PACKAGE_BUILT_LOCALLY
from waymo-open-dataset.
Is this resolved?
from waymo-open-dataset.
You can also copy the files generated by bazel directly though i think it is better to use the pip package.
from waymo-open-dataset.
-
Did you install from the pre-compiled pip package?
-
If answer to 1 is no, then yes, you will need to copy the proto generated files. Bazel generates that automatically for you. It locates at bazel-genfiles/waymo_open_dataset/
from waymo-open-dataset.
@SagnikD95 you need to install protobuf and run protoc ./waymo_open-dataset/dataset.proto --python_out-.
Thanks a ton. Worked like a charm!
from waymo-open-dataset.
I had same issue, and I referenced @turboxin 's comment.
Actually 2 lines had a problem to compile.
=>
from waymo_open_dataset.utils import frame_utils from waymo_open_dataset import dataset_pb2 as open_datasetand I ran commands on terminal
=>
$ protoc ./waymo_open_dataset/dataset.proto -- python_out=. $ protoc ./waymo_open_dataset/label.proto -- python_out=.After ran them, change directory to waymo_open_dataset(master)/waymo_open_dataset
Now, you can see dataset_pb2.py and label_pb2.py files exist.
Yes it worked. Thanks
from waymo-open-dataset.
Related Issues (20)
- Build from source fails HOT 1
- Sim agent challenge V1 metric testing score HOT 2
- How to download only lidar data for tfrecords HOT 1
- BuildSubsets ground_truth and detection are true at the same time
- Optimize parquet files (sorted columns and row group size) HOT 8
- I want to locate intersection in google map but donot have the origin for global coordinates HOT 1
- the collection time span of the data in the Waymo Open Motion Dataset
- Something is wrong when logging in the website. HOT 2
- How should I project the lidar data to the camera image with the depth in v2? HOT 1
- Unable to install the waymo-open-dataset package
- Does Waymo provides the geographic coordinates (latitude, longitude, altitude) of the starting point (origin) of each segment
- Are testing and testing_location disjoint or do they have some overlap? For context, what’s the difference between the two folders?
- Perception Dataset V201 Lidar Timestamp Issue HOT 1
- protoc failed: error executing command HOT 2
- Are the timestamps for traffic signals synchronized with the timestamps for vehicle HOT 1
- Are the heading values of tracks in waymo motion dataset already normalized? HOT 1
- Cannot click to agree on the license when downloading the dataset HOT 1
- Efficiently loading Waymo raw data? HOT 3
- Camera extrinsics per frame (to get global frame coordinates)
- KeyFrames Sampling Rate
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 waymo-open-dataset.