Run pylot in the base system fails
See original GitHub issueFollow 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:
- Created a year ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
I think I found the main problem. Erdos 0.4.0 changed its API and is incompatible with Pylot.
@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 commentschallenge.conf
to clarify this would be very welcome, but I wouldn’t update the paths.