Hi,
I have implemented everything and getting following error at the end.
Can you help me out with this?
process[cartpole_gym-1]: started with pid [1235]
2021-11-26 00:26:51.197625: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
[WARN] [1637886413.074246, 0.004000]: Start Init ControllersConnection
[WARN] [1637886413.075336, 0.004000]: END Init ControllersConnection
Traceback (most recent call last):
File "/home/user/catkin_ws/src/tae_cartpole_training/src/train_cartpole.py", line 43, in <module>
main()
File "/home/user/catkin_ws/src/tae_cartpole_training/src/train_cartpole.py", line 27, in main
act = deepq.learn(
File "/home/simulations/baselines/baselines/deepq/deepq.py", line 124, in learn
observation_shape=env.observation_space.shape,
AttributeError: 'NoneType' object has no attribute 'shape'
[cartpole_gym-1] process has died [pid 1235, exit code 1, cmd /home/user/catkin_ws/src/tae_cartpole_training/src/train_cartpole.py __name:=cartpole_gym __log:=/home/user/.ros/log/60634a0c-4e4f-11ec-9ab9-0242c0a8d008/cartpole_gym-1.log].
log file: /home/user/.ros/log/60634a0c-4e4f-11ec-9ab9-0242c0a8d008/cartpole_gym-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
Thanks
Taehyoung