mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-06-05 00:00:04 +00:00
Sort file list for consistent results
This commit is contained in:
parent
c09a9d713e
commit
c0eab56d3b
1 changed files with 1 additions and 0 deletions
|
|
@ -659,6 +659,7 @@ def test_video_recorder(tmp_path):
|
|||
|
||||
# print all videos in video_folder, should be multiple step 0-100, step 1024-1124
|
||||
video_files = list(map(str, tmp_path.glob("*.mp4")))
|
||||
video_files.sort(reverse=True)
|
||||
|
||||
# Clean up
|
||||
vec_env.close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue