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)
- TypeError: 'type' object is not subscriptable HOT 1
- Failed to parse ground truths
- failed to download motion dataset HOT 2
- Missing Map Features in Testing Scenario Proto Dataset HOT 5
- the length of scenario.timestamps_seconds is not equal to tracks[i].states_size() HOT 2
- The dataset version used in the Interaction Prediction challenge.
- scenario in Motion Datasets Are the images included in the Perception dataset? HOT 1
- Failed to "pip3 install waymo-open-dataset-tf-2-11-0==1.6.1" on linux HOT 2
- 2+ hour wait time for test set results HOT 2
- waymo-open-dataset on MacOS HOT 2
- Pixel Correspondence Projection Between Multiple Cameras HOT 1
- Is it possible to have sim agent metrics function in py_metrics_ops ?
- Cameras world coordinates computation at middle of exposition time.
- Why use clockwise vectors instead of counterclockwise vectors
- The Test Set Submission of the Interaction Prediction Benchmark is Always Pending HOT 3
- Camera Convention for perception dataset
- waymo 2022 Occupancy and Flow Prediction challenge server no response HOT 3
- Submission problems on the challenge of 3d semantic seg server HOT 1
- HD Map Lane Gabs HOT 3
- occupancy flow prediction Unknown error 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 waymo-open-dataset.