Ivan Efremov
Ivan Efremov
It also seems that the folder is not created [here](https://github.com/utiasDSL/gym-pybullet-drones/blob/e8ae019ba544c6b23416a590b86c75736d6aad40/gym_pybullet_drones/envs/BaseAviary.py#L522), so the error occurs when starting the recording. Also it seems a problem with ONBOARD_IMG_PATH folder creation.
Yeah, I launch `main` branch. So for example if I just change `DEFAULT_RECORD_VIDEO` to `True` in `gym_pybullet_drones/examples/learn.py` and run it, than `results` folder will be created, but no any video...
Yeah, the first issue is gone, but after `DEFAULT_GUI` making `False` the second issue is still there.
I update code and comment out `logger.log` line in `learn.py`, and now have this error: ``` Traceback (most recent call last): File "/home/ivan/Desktop/gym-pybullet-drones/gym_pybullet_drones/examples/learn.py", line 86, in run(**vars(ARGS)) File "/home/ivan/Desktop/gym-pybullet-drones/gym_pybullet_drones/examples/learn.py", line...
I pull new code and do the same. Now have this error: ``` Traceback (most recent call last): File "/home/ivan/Desktop/gym-pybullet-drones/gym_pybullet_drones/examples/learn.py", line 86, in run(**vars(ARGS)) File "/home/ivan/Desktop/gym-pybullet-drones/gym_pybullet_drones/examples/learn.py", line 75, in run...
yeah, I am sorry. Now everything is ok. Thank you)
132 line only creates `self.OUTPUT_FOLDER`: https://github.com/utiasDSL/gym-pybullet-drones/blob/73f83329b6e011fecf60fd9b41e3bff9cc95b7f5/gym_pybullet_drones/envs/BaseAviary.py#L131-L132 Folder is not created here: https://github.com/utiasDSL/gym-pybullet-drones/blob/73f83329b6e011fecf60fd9b41e3bff9cc95b7f5/gym_pybullet_drones/envs/BaseAviary.py#L533-L535 That's why an errors like that can occur: ``` results/recording_08.16.2023_11.57.55/output.mp4: No such file or directory ```
I mean that this https://github.com/utiasDSL/gym-pybullet-drones/blob/73f83329b6e011fecf60fd9b41e3bff9cc95b7f5/gym_pybullet_drones/envs/BaseAviary.py#L131-L132 is equal to this ``` os.makedirs('results', , exist_ok=True) ``` if we are going to launch with default `self.OUTPUT_FOLDER` value. And this lines https://github.com/utiasDSL/gym-pybullet-drones/blob/73f83329b6e011fecf60fd9b41e3bff9cc95b7f5/gym_pybullet_drones/envs/BaseAviary.py#L533-L535 should look...
I am also looking forward to your code)
No, published results here: https://github.com/4ku/Place-recognition-evaluation