question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run pylot in the base system fails

See original GitHub issue

Follow the installation guide in https://pylot.readthedocs.io/en/latest/manual_installation.html. I try to run pylot in my base system. The simulation is started successfully, howerver, when running pylot using python3 pylot.py --flagfile=configs/detection.conf, error shows AttributeError: module 'erdos' has no attribute 'Operator'. I think maybe the erdos version is not correct(pip install will install version erdos 0.4.0), so I changed the setup.sh (force using erdos 0.3.1), and run again. The Operator error didn’t show, but I encounter new errors: Traceback (most recent call last): File "/home/sauron/.local/lib/python3.8/site-packages/erdos/streams.py", line 114, in internal_callback callback(msg, *write_streams) File "/home/sauron/.local/lib/python3.8/site-packages/erdos/__init__.py", line 294, in wrapper return func(*args, **kwargs) File "/home/sauron/pylot/pylot/perception/detection/detection_operator.py", line 110, in on_msg_camera_stream num_detections, res_boxes, res_scores, res_classes = self.__run_model( File "/home/sauron/pylot/pylot/perception/detection/detection_operator.py", line 161, in __run_model infer = self._model.signatures['serving_default'] AttributeError: 'DetectionOperator' object has no attribute '_model' Thank you for your help

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
wutianzecommented, Jun 22, 2022

I think I found the main problem. Erdos 0.4.0 changed its API and is incompatible with Pylot.

0reactions
pschafhaltercommented, Apr 28, 2022

@JackWetherell challenge.conf is designed for the CARLA Challenge docker container which has a different directory layout. A PR that improves the error messages and comments challenge.conf to clarify this would be very welcome, but I wouldn’t update the paths.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to conduct a successful pilot: Fail fast, safe, and smart
One way to do this is through a pilot. This initial rollout of a system into simulated production targets a limited scope of...
Read more >
Pilot Ejects From F-35B During Failed Vertical Landing at NAS ...
A pilot ejected from a fighter jet during a failed landing at the Naval Air Station Joint Reserve Base in Fort Worth, Texas...
Read more >
2888935 - SNOTE: "Note incomplete" error for a "Pilot note" for ...
2888935 - SNOTE: "Note incomplete" error for a "Pilot note" for systems running in Cloud Infrastructure. Symptom. One of a Cloud customer (for...
Read more >
Matplotlib Version - python - Stack Overflow
EDIT: I'm running Mac OS X version 10.9. I just reinstalled python 2.7 with scipy, numpy, and matplotlib through macports. Is there a...
Read more >
PyPlot error on Julia 1.0.1 - Tooling
Starting with a fresh install, running from command line, here's what I got ... not fully functional └ @ Base client.jl:342 julia> Pkg.status()...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found