Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError: The render_mode must be 'rgb_array', not None #566

Open
moneypi opened this issue Jan 26, 2024 · 0 comments · May be fixed by #571
Open

AssertionError: The render_mode must be 'rgb_array', not None #566

moneypi opened this issue Jan 26, 2024 · 0 comments · May be fixed by #571

Comments

@moneypi
Copy link

moneypi commented Jan 26, 2024

When I run "sb3_highway_dqn_cnn.py", I get errors as below.

(base) zhuqinghua@lcwt-DSS8440:~/workspace/HighwayEnv-master/scripts$ python sb3_highway_dqn_cnn.py
/home/zhuqinghua/miniconda3/lib/python3.8/site-packages/gymnasium/utils/passive_env_checker.py:42: UserWarning: WARN: A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: (5, 5)
  logger.warn(
Using cuda device
Logging to highway_cnn/DQN_1
----------------------------------
| rollout/            |          |
|    exploration_rate | 0.94     |
| time/               |          |
|    episodes         | 4        |
|    fps              | 21       |
|    time_elapsed     | 2        |
|    total_timesteps  | 44       |
----------------------------------
----------------------------------
| rollout/            |          |
|    exploration_rate | 0.858    |
| time/               |          |
|    episodes         | 8        |
|    fps              | 21       |
|    time_elapsed     | 4        |
|    total_timesteps  | 105      |
----------------------------------
----------------------------------
| rollout/            |          |
|    exploration_rate | 0.805    |
| time/               |          |
|    episodes         | 12       |
|    fps              | 21       |
|    time_elapsed     | 6        |
|    total_timesteps  | 144      |
----------------------------------
----------------------------------
| rollout/            |          |
|    exploration_rate | 0.756    |
| time/               |          |
|    episodes         | 16       |
|    fps              | 22       |
|    time_elapsed     | 8        |
|    total_timesteps  | 180      |
----------------------------------
----------------------------------
| rollout/            |          |
|    exploration_rate | 0.691    |
| time/               |          |
|    episodes         | 20       |
|    fps              | 22       |
|    time_elapsed     | 10       |
|    total_timesteps  | 228      |
| train/              |          |
|    learning_rate    | 0.0005   |
|    loss             | 0.0366   |
|    n_updates        | 27       |
----------------------------------
----------------------------------
| rollout/            |          |
|    exploration_rate | 0.638    |
| time/               |          |
|    episodes         | 24       |
|    fps              | 22       |
|    time_elapsed     | 12       |
|    total_timesteps  | 267      |
| train/              |          |
|    learning_rate    | 0.0005   |
|    loss             | 0.0117   |
|    n_updates        | 66       |
----------------------------------
....................................................................................................
----------------------------------
| rollout/            |          |
|    exploration_rate | 0.05     |
| time/               |          |
|    episodes         | 96       |
|    fps              | 22       |
|    time_elapsed     | 41       |
|    total_timesteps  | 940      |
| train/              |          |
|    learning_rate    | 0.0005   |
|    loss             | 0.639    |
|    n_updates        | 739      |
----------------------------------
----------------------------------
| rollout/            |          |
|    exploration_rate | 0.05     |
| time/               |          |
|    episodes         | 100      |
|    fps              | 22       |
|    time_elapsed     | 43       |
|    total_timesteps  | 971      |
| train/              |          |
|    learning_rate    | 0.0005   |
|    loss             | 0.443    |
|    n_updates        | 770      |
----------------------------------
/home/zhuqinghua/miniconda3/lib/python3.8/site-packages/gymnasium/utils/passive_env_checker.py:42: UserWarning: WARN: A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: (5, 5)
  logger.warn(
Traceback (most recent call last):
  File "sb3_highway_dqn_cnn.py", line 57, in <module>
    env = VecVideoRecorder(
  File "/home/zhuqinghua/miniconda3/lib/python3.8/site-packages/stable_baselines3/common/vec_env/vec_video_recorder.py", line 52, in __init__
    assert self.env.render_mode == "rgb_array", f"The render_mode must be 'rgb_array', not {self.env.render_mode}"
AssertionError: The render_mode must be 'rgb_array', not None
Exception ignored in: <function VecVideoRecorder.__del__ at 0x7f6193588670>
Traceback (most recent call last):
  File "/home/zhuqinghua/miniconda3/lib/python3.8/site-packages/stable_baselines3/common/vec_env/vec_video_recorder.py", line 113, in __del__
    self.close_video_recorder()
  File "/home/zhuqinghua/miniconda3/lib/python3.8/site-packages/stable_baselines3/common/vec_env/vec_video_recorder.py", line 103, in close_video_recorder
    if self.recording:
  File "/home/zhuqinghua/miniconda3/lib/python3.8/site-packages/stable_baselines3/common/vec_env/base_vec_env.py", line 420, in __getattr__
    return self.getattr_recursive(name)
  File "/home/zhuqinghua/miniconda3/lib/python3.8/site-packages/stable_baselines3/common/vec_env/base_vec_env.py", line 445, in getattr_recursive
    attr = getattr(self.venv, name)
AttributeError: 'DummyVecEnv' object has no attribute 'recording'
(base) zhuqinghua@lcwt-DSS8440:~/workspace/HighwayEnv-master/scripts$

My env is as below

(base) zhuqinghua@lcwt-DSS8440:~/workspace/HighwayEnv-master/scripts$ conda list
# packages in environment at /home/zhuqinghua/miniconda3:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                  2_kmp_llvm    conda-forge
abseil-cpp                20220623.0           h8cdb687_6    conda-forge
absl-py                   1.4.0            py38h06a4308_0
aiohttp                   3.9.0            py38h5eee18b_0
aiosignal                 1.2.0              pyhd3eb1b0_0
ale-py                    0.8.1                    pypi_0    pypi
alembic                   1.8.1            py38h06a4308_0
alsa-lib                  1.2.8                h166bdaf_0    conda-forge
aom                       3.5.0                h27087fc_0    conda-forge
archspec                  0.2.1              pyhd3eb1b0_0
asttokens                 2.4.1              pyhd8ed1ab_0    conda-forge
async-timeout             4.0.3            py38h06a4308_0
attr                      2.5.1                h166bdaf_1    conda-forge
attrs                     23.1.0           py38h06a4308_0
autorom                   0.6.1                    pypi_0    pypi
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
blas                      1.0                    openblas
blinker                   1.6.2            py38h06a4308_0
boltons                   23.0.0           py38h06a4308_0
bottleneck                1.3.5            py38h7deecbd_0
box2d-py                  2.3.8            py38h17151c0_8    conda-forge
brotli                    1.0.9                h5eee18b_7
brotli-bin                1.0.9                h5eee18b_7
brotli-python             1.0.9            py38h6a678d5_7
bzip2                     1.0.8                h7b6447c_0
c-ares                    1.19.1               h5eee18b_0
ca-certificates           2023.12.12           h06a4308_0
cachetools                4.2.2              pyhd3eb1b0_0
cairo                     1.16.0            ha61ee94_1014    conda-forge
certifi                   2023.11.17         pyhd8ed1ab_0    conda-forge
cffi                      1.16.0           py38h5eee18b_0
chardet                   5.2.0                    pypi_0    pypi
charset-normalizer        2.0.4              pyhd3eb1b0_0
click                     8.1.7            py38h06a4308_0
cloudpickle               2.2.1            py38h06a4308_0
colorlog                  5.0.1            py38h06a4308_1
comm                      0.2.1              pyhd8ed1ab_0    conda-forge
conda                     23.11.0          py38h578d9bd_1    conda-forge
conda-content-trust       0.2.0            py38h06a4308_0
conda-libmamba-solver     23.12.0            pyhd3eb1b0_1
conda-package-handling    2.2.0            py38h06a4308_0
conda-package-streaming   0.9.0            py38h06a4308_0
contourpy                 1.1.1                    pypi_0    pypi
cryptography              41.0.7           py38hdda0065_0
cuda-version              11.8                 h70ddcb2_2    conda-forge
cudatoolkit               11.8.0               h6a678d5_0
cudnn                     8.9.2.26               cuda11_0
cycler                    0.12.1                   pypi_0    pypi
dataproperty              1.0.1                    pypi_0    pypi
dav1d                     1.2.1                h5eee18b_0
dbus                      1.13.18              hb2f20db_0
debugpy                   1.8.0            py38h17151c0_1    conda-forge
decorator                 5.1.1              pyhd3eb1b0_0
distro                    1.8.0            py38h06a4308_0
exceptiongroup            1.2.0                    pypi_0    pypi
executing                 2.0.1              pyhd8ed1ab_0    conda-forge
expat                     2.5.0                h6a678d5_0
farama-notifications      0.0.4            py38h06a4308_0
ffmpeg                    5.1.2           gpl_h8dda1f0_106    conda-forge
fftw                      3.3.10          nompi_hc118613_108    conda-forge
filelock                  3.13.1           py38h06a4308_0
fluidsynth                2.3.2                hea804a5_0    conda-forge
fmt                       9.1.0                hdb19cb5_0
font-ttf-dejavu-sans-mono 2.37                 hd3eb1b0_0
font-ttf-inconsolata      2.001                hcb22688_0
font-ttf-source-code-pro  2.030                hd3eb1b0_0
font-ttf-ubuntu           0.83                 h8b1ccd4_0
fontconfig                2.14.2               h14ed4e7_0    conda-forge
fonts-anaconda            1                    h8fa9717_0
fonts-conda-ecosystem     1                    hd3eb1b0_0
fonttools                 4.47.2                   pypi_0    pypi
freeglut                  3.2.2                h9c3ff4c_1    conda-forge
freetype                  2.12.1               h4a9f257_0
frozenlist                1.4.0            py38h5eee18b_0
fsspec                    2023.10.0        py38h06a4308_0
gettext                   0.21.1               h27087fc_0    conda-forge
giflib                    5.2.1                h5eee18b_3
glib                      2.78.3               hfc55251_0    conda-forge
glib-tools                2.78.3               hfc55251_0    conda-forge
gmp                       6.2.1                h295c915_3
gmpy2                     2.1.2            py38heeb90bb_0
gnutls                    3.7.9                hb077bed_0    conda-forge
google-auth               2.22.0           py38h06a4308_0
google-auth-oauthlib      0.5.2            py38h06a4308_0
graphite2                 1.3.14               h295c915_1
greenlet                  3.0.1            py38h6a678d5_0
grpc-cpp                  1.51.1               h27aab58_1    conda-forge
grpcio                    1.51.1           py38h5c03f07_1    conda-forge
gst-plugins-base          1.22.0               h4243ec0_2    conda-forge
gstreamer                 1.22.0               h25f0c4b_2    conda-forge
gstreamer-orc             0.4.34               hd590300_0    conda-forge
gtest                     1.14.0               hdb19cb5_0
gym                       0.26.2                   pypi_0    pypi
gym-notices               0.0.8                    pypi_0    pypi
gymnasium                 0.29.1                   pypi_0    pypi
gymnasium-box2d           0.28.1           py38h578d9bd_0    conda-forge
harfbuzz                  6.0.0                h8e241bc_0    conda-forge
hdf5                      1.14.0          nompi_hb72d44e_103    conda-forge
highway-env               1.8.2                    pypi_0    pypi
huggingface-sb3           3.0                      pypi_0    pypi
huggingface_hub           0.20.2             pyhd8ed1ab_0    conda-forge
icu                       70.1                 h27087fc_0    conda-forge
idna                      3.4              py38h06a4308_0
imageio                   2.31.4           py38h06a4308_0
imageio-ffmpeg            0.4.9              pyhd8ed1ab_0    conda-forge
importlib-metadata        7.0.1            py38h06a4308_0
importlib_metadata        7.0.1                hd3eb1b0_0
importlib_resources       6.1.1            py38h06a4308_1
iniconfig                 2.0.0                    pypi_0    pypi
intel-openmp              2023.1.0         hdb19cb5_46306
ipykernel                 6.29.0             pyhd33586a_0    conda-forge
ipython                   8.12.2             pyh41d4057_0    conda-forge
ipywidgets                8.1.1                    pypi_0    pypi
jack                      1.9.22               h11f4161_0    conda-forge
jasper                    2.0.33               h0ff4b12_1    conda-forge
jax-jumpy                 1.0.0            py38h06a4308_0
jedi                      0.19.1             pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2            py38h06a4308_0
jpeg                      9e                   h5eee18b_1
jsonpatch                 1.32               pyhd3eb1b0_0
jsonpointer               2.1                pyhd3eb1b0_0
jupyter_client            8.6.0              pyhd8ed1ab_0    conda-forge
jupyter_core              5.7.1            py38h578d9bd_0    conda-forge
jupyterlab-widgets        3.0.9                    pypi_0    pypi
kiwisolver                1.4.5                    pypi_0    pypi
krb5                      1.20.1               h143b758_1
lame                      3.100                h7b6447c_0
lcms2                     2.12                 h3be6417_0
ld_impl_linux-64          2.38                 h1181459_1
lerc                      3.0                  h295c915_0
libabseil                 20220623.0      cxx17_h05df665_6    conda-forge
libaec                    1.1.2                h59595ed_1    conda-forge
libarchive                3.6.2                h6ac8c49_2
libavif                   0.11.1               h8182462_2    conda-forge
libblas                   3.9.0           16_linux64_openblas    conda-forge
libbrotlicommon           1.0.9                h5eee18b_7
libbrotlidec              1.0.9                h5eee18b_7
libbrotlienc              1.0.9                h5eee18b_7
libcap                    2.67                 he9d0100_0    conda-forge
libcblas                  3.9.0           16_linux64_openblas    conda-forge
libclang                  15.0.7          default_hb11cfb5_4    conda-forge
libclang13                15.0.7          default_ha2b6cf4_4    conda-forge
libcups                   2.3.3                h36d4200_3    conda-forge
libcurl                   8.4.0                h251f7ec_1
libdb                     6.2.32               h6a678d5_1
libdeflate                1.17                 h5eee18b_1
libdrm                    2.4.114              h166bdaf_0    conda-forge
libedit                   3.1.20230828         h5eee18b_0
libev                     4.33                 h7f8727e_1
libevent                  2.1.10               h28343ad_4    conda-forge
libffi                    3.4.4                h6a678d5_0
libflac                   1.4.3                h59595ed_0    conda-forge
libgcc-ng                 13.2.0               h807b86a_3    conda-forge
libgcrypt                 1.10.3               hd590300_0    conda-forge
libgfortran-ng            13.2.0               h69a702a_3    conda-forge
libgfortran5              13.2.0               ha4646dd_3    conda-forge
libglib                   2.78.3               h783c2da_0    conda-forge
libglu                    9.0.0                hf484d3e_1
libgomp                   13.2.0               h807b86a_3    conda-forge
libgpg-error              1.47                 h71f35ed_0    conda-forge
libgrpc                   1.51.1               h4fad500_1    conda-forge
libiconv                  1.17                 hd590300_2    conda-forge
libidn2                   2.3.4                h5eee18b_0
liblapack                 3.9.0           16_linux64_openblas    conda-forge
liblapacke                3.9.0           16_linux64_openblas    conda-forge
libllvm15                 15.0.7               hadd5161_1    conda-forge
libmad                    0.15.1b           h0b41bf4_1001    conda-forge
libmagma                  2.7.1                hc72dce7_6    conda-forge
libmagma_sparse           2.7.1                h8354cda_6    conda-forge
libmamba                  1.5.3                haf1ee3a_0
libmambapy                1.5.3            py38h2dafd23_0
libnghttp2                1.57.0               h2d74bed_0
libogg                    1.3.5                h27cfd23_1
libopenblas               0.3.21               h043d6bf_0
libopencv                 4.7.0            py38hb32f1de_1    conda-forge
libopus                   1.3.1                h7b6447c_0
libpciaccess              0.17                 h166bdaf_0    conda-forge
libpng                    1.6.39               h5eee18b_0
libpq                     15.3                 hbcd7760_1    conda-forge
libprotobuf               3.21.12              hfc55251_2    conda-forge
libsndfile                1.2.2                hbc2eb40_0    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libsolv                   0.7.24               he621ea3_0
libsqlite                 3.44.2               h2797004_0    conda-forge
libssh2                   1.10.0               hdbd6064_2
libstdcxx-ng              13.2.0               h7e041cc_3    conda-forge
libsystemd0               253                  h8c4010b_1    conda-forge
libtasn1                  4.19.0               h5eee18b_0
libtiff                   4.5.1                h6a678d5_0
libtool                   2.4.7                h27087fc_0    conda-forge
libudev1                  253                  h0b41bf4_1    conda-forge
libunistring              0.9.10               h27cfd23_0
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libva                     2.18.0               h0b41bf4_0    conda-forge
libvorbis                 1.3.7                h7b6447c_0
libvpx                    1.11.0               h295c915_0
libwebp                   1.3.2                h11a3e52_0
libwebp-base              1.3.2                h5eee18b_0
libxcb                    1.13                 h1bed415_1
libxkbcommon              1.5.0                h79f4944_1    conda-forge
libxml2                   2.10.3               hca2bb57_4    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
llvm-openmp               17.0.6               h4dfa4b3_0    conda-forge
lz4                       4.3.3                    pypi_0    pypi
lz4-c                     1.9.4                h6a678d5_0
magma                     2.7.1                ha770c72_6    conda-forge
mako                      1.2.3            py38h06a4308_0
markdown                  3.4.1            py38h06a4308_0
markdown-it-py            3.0.0                    pypi_0    pypi
markupsafe                2.1.3            py38h5eee18b_0
matplotlib                3.7.4                    pypi_0    pypi
matplotlib-base           3.7.2            py38h1128e8f_0
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
mbstrdecoder              1.1.3                    pypi_0    pypi
mdurl                     0.1.2                    pypi_0    pypi
menuinst                  2.0.1            py38h06a4308_1
mkl                       2022.2.1         h84fe81f_16997    conda-forge
mkl-service               2.4.0            py38h80f09db_0    conda-forge
mkl_fft                   1.3.8            py38h15cf20e_0    conda-forge
mkl_random                1.2.4            py38h3afe8b8_2    conda-forge
moviepy                   1.0.3              pyhd8ed1ab_1    conda-forge
mpc                       1.1.0                h10f8cd9_1
mpfr                      4.0.2                hb69a4c5_1
mpg123                    1.31.3               hcb278e6_0    conda-forge
mpmath                    1.3.0            py38h06a4308_0
multidict                 6.0.4            py38h5eee18b_0
munkres                   1.1.4                      py_0
mysql-common              8.0.33               hf1915f5_6    conda-forge
mysql-libs                8.0.33               hca2cd23_6    conda-forge
nccl                      2.19.4.1             h6103f9b_0    conda-forge
ncurses                   6.4                  h6a678d5_0
nest-asyncio              1.6.0              pyhd8ed1ab_0    conda-forge
nettle                    3.9.1                h7ab15ed_0    conda-forge
networkx                  3.1              py38h06a4308_0
ninja                     1.10.2               h06a4308_5
ninja-base                1.10.2               hd09550d_5
nspr                      4.35                 h6a678d5_0
nss                       3.89.1               h6a678d5_0
numexpr                   2.8.4            py38hd2a5715_1
numpy                     1.24.3           py38hf838250_0
numpy-base                1.24.3           py38h1e6e340_0
nvidia-cublas-cu12        12.1.3.1                 pypi_0    pypi
nvidia-cuda-cupti-cu12    12.1.105                 pypi_0    pypi
nvidia-cuda-nvrtc-cu12    12.1.105                 pypi_0    pypi
nvidia-cuda-runtime-cu12  12.1.105                 pypi_0    pypi
nvidia-cufft-cu12         11.0.2.54                pypi_0    pypi
nvidia-curand-cu12        10.3.2.106               pypi_0    pypi
nvidia-cusparse-cu12      12.1.0.106               pypi_0    pypi
nvidia-nccl-cu12          2.18.1                   pypi_0    pypi
nvidia-nvjitlink-cu12     12.3.101                 pypi_0    pypi
nvidia-nvtx-cu12          12.1.105                 pypi_0    pypi
oauthlib                  3.2.2            py38h06a4308_0
opencv                    4.7.0            py38h578d9bd_1    conda-forge
opencv-python             4.9.0.80                 pypi_0    pypi
openh264                  2.3.1                hcb278e6_2    conda-forge
openjpeg                  2.4.0                h3ad879b_0
openssl                   3.1.4                hd590300_0    conda-forge
optuna                    3.5.0              pyhd8ed1ab_0    conda-forge
opusfile                  0.12                 h3358134_2    conda-forge
p11-kit                   0.24.1               hc5aa10d_0    conda-forge
packaging                 23.1             py38h06a4308_0
pandas                    2.0.3            py38h1128e8f_0
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pathvalidate              3.2.0                    pypi_0    pypi
pcre2                     10.42                hebb0a14_0
pexpect                   4.9.0              pyhd8ed1ab_0    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    10.2.0                   pypi_0    pypi
pip                       23.3.1           py38h06a4308_0
pixman                    0.43.0               h59595ed_0    conda-forge
platformdirs              3.10.0           py38h06a4308_0
pluggy                    1.0.0            py38h06a4308_1
pooch                     1.7.0            py38h06a4308_0
portaudio                 19.6.0               h7b6447c_4
portmidi                  2.0.4                h11f4161_0    conda-forge
proglog                   0.1.9                      py_0    conda-forge
prompt-toolkit            3.0.42             pyha770c72_0    conda-forge
prompt_toolkit            3.0.42               hd8ed1ab_0    conda-forge
protobuf                  4.21.12          py38h8dc9893_0    conda-forge
psutil                    5.9.8            py38h01eb140_0    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pulseaudio                16.1                 hcb278e6_3    conda-forge
pulseaudio-client         16.1                 h5195f5e_3    conda-forge
pulseaudio-daemon         16.1                 ha8d29e2_3    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
py-opencv                 4.7.0            py38h6f1a3b6_1    conda-forge
pyasn1                    0.4.8              pyhd3eb1b0_0
pyasn1-modules            0.2.8                      py_0
pybind11-abi              4                    hd3eb1b0_1
pycosat                   0.6.6            py38h5eee18b_0
pycparser                 2.21               pyhd3eb1b0_0
pycryptodome              3.15.0           py38h276157c_0
pygame                    2.5.2                    pypi_0    pypi
pygments                  2.17.2             pyhd8ed1ab_0    conda-forge
pyjwt                     2.4.0            py38h06a4308_0
pyopenssl                 23.2.0           py38h06a4308_0
pyparsing                 3.1.1                    pypi_0    pypi
pysocks                   1.7.1            py38h06a4308_0
pytablewriter             1.2.0                    pypi_0    pypi
pytest                    7.4.4                    pypi_0    pypi
python                    3.8.18               h955ad1f_0
python-dateutil           2.8.2              pyhd3eb1b0_0
python-tzdata             2023.3             pyhd3eb1b0_0
python_abi                3.8                      2_cp38    conda-forge
pytorch                   2.0.0           cuda112py38h5e67e12_200    conda-forge
pytorch-gpu               2.0.0           cuda112py38h9871d0b_200    conda-forge
pytz                      2023.3.post1     py38h06a4308_0
pyvirtualdisplay          3.0                      pypi_0    pypi
pyyaml                    6.0.1            py38h5eee18b_0
pyzmq                     25.1.2           py38h34c975a_0    conda-forge
qt-main                   5.15.8               h5d23da1_6    conda-forge
re2                       2023.02.01           hcb278e6_0    conda-forge
readline                  8.2                  h5eee18b_0
reproc                    14.2.4               h295c915_1
reproc-cpp                14.2.4               h295c915_1
requests                  2.31.0           py38h06a4308_0
requests-oauthlib         1.3.0                      py_0
rich                      13.7.0                   pypi_0    pypi
rsa                       4.7.2              pyhd3eb1b0_1
ruamel.yaml               0.17.21          py38h5eee18b_0
ruamel.yaml.clib          0.2.6            py38h5eee18b_1
sb3-contrib               2.3.0a1                  pypi_0    pypi
scipy                     1.10.1           py38h32ae08f_1
sdl2                      2.26.5               h949db6a_0    conda-forge
sdl2_image                2.6.3                h7b3d2e9_0    conda-forge
sdl2_mixer                2.6.3                h563c3bf_0    conda-forge
sdl2_ttf                  2.20.2               h44fa107_0    conda-forge
setuptools                68.2.2           py38h06a4308_0
shimmy                    0.2.1                    pypi_0    pypi
six                       1.16.0             pyhd3eb1b0_1
sleef                     3.5.1                h9b69904_2    conda-forge
sqlalchemy                2.0.25           py38h5eee18b_0
sqlite                    3.41.2               h5eee18b_0
stable-baselines3         2.2.1              pyhd8ed1ab_0    conda-forge
stack_data                0.6.2              pyhd8ed1ab_0    conda-forge
svt-av1                   1.4.1                hcb278e6_0    conda-forge
sympy                     1.12             py38h06a4308_0
tabledata                 1.3.3                    pypi_0    pypi
tbb                       2021.8.0             hdb19cb5_0
tcolorpy                  0.1.4                    pypi_0    pypi
tensorboard               2.15.1             pyhd8ed1ab_0    conda-forge
tensorboard-data-server   0.7.0            py38h52d8a92_0
tensorboardx              2.6.2.2                  pypi_0    pypi
tk                        8.6.12               h1ccaba5_0
tomli                     2.0.1                    pypi_0    pypi
torchvision               0.10.1          py38cuda112h04b465a_0_cuda    conda-forge
tornado                   6.3.3            py38h01eb140_1    conda-forge
tqdm                      4.65.0           py38hb070fc8_0
traitlets                 5.14.1             pyhd8ed1ab_0    conda-forge
triton                    2.1.0                    pypi_0    pypi
typepy                    1.3.2                    pypi_0    pypi
typing-extensions         4.7.1            py38h06a4308_0
typing_extensions         4.7.1            py38h06a4308_0
tzdata                    2023.4                   pypi_0    pypi
urllib3                   1.26.18          py38h06a4308_0
wasabi                    1.1.2                    pypi_0    pypi
wcwidth                   0.2.13             pyhd8ed1ab_0    conda-forge
werkzeug                  2.2.3            py38h06a4308_0
wheel                     0.41.2           py38h06a4308_0
widgetsnbextension        4.0.9                    pypi_0    pypi
x264                      1!164.3095           h166bdaf_2    conda-forge
x265                      3.5                  h924138e_3    conda-forge
xcb-util                  0.4.0                h516909a_0    conda-forge
xcb-util-image            0.4.0                h166bdaf_0    conda-forge
xcb-util-keysyms          0.4.0                h516909a_0    conda-forge
xcb-util-renderutil       0.3.9                h166bdaf_0    conda-forge
xcb-util-wm               0.4.1                h516909a_0    conda-forge
xkeyboard-config          2.38                 h0b41bf4_0    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.1.1                hd590300_0    conda-forge
xorg-libsm                1.2.4                h7391055_0    conda-forge
xorg-libx11               1.8.4                h0b41bf4_0    conda-forge
xorg-libxau               1.0.11               hd590300_0    conda-forge
xorg-libxext              1.3.4                h0b41bf4_2    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxi                1.7.10               h7f98852_0    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h0b41bf4_1003    conda-forge
xorg-xproto               7.0.31            h27cfd23_1007
xz                        5.4.5                h5eee18b_0
yaml                      0.2.5                h7b6447c_0
yaml-cpp                  0.8.0                h6a678d5_0
yarl                      1.9.3            py38h5eee18b_0
zeromq                    4.3.5                h59595ed_0    conda-forge
zipp                      3.17.0           py38h06a4308_0
zlib                      1.2.13               hd590300_5    conda-forge
zstandard                 0.19.0           py38h5eee18b_0
zstd                      1.5.5                hc292b87_0
(base) zhuqinghua@lcwt-DSS8440:~/workspace/HighwayEnv-master/scripts$ nvidia-smi
Fri Jan 26 14:12:22 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.154.05             Driver Version: 535.154.05   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3090        Off | 00000000:89:00.0 Off |                  N/A |
| 53%   46C    P0             110W / 350W |      0MiB / 24576MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA GeForce RTX 3090        Off | 00000000:8A:00.0 Off |                  N/A |
| 51%   46C    P0             108W / 350W |      0MiB / 24576MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   2  NVIDIA GeForce RTX 3090        Off | 00000000:C0:00.0 Off |                  N/A |
| 46%   42C    P0             115W / 350W |      0MiB / 24576MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   3  NVIDIA GeForce RTX 3090        Off | 00000000:C1:00.0 Off |                  N/A |
| 30%   42C    P0              97W / 350W |      0MiB / 24576MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+
(base) zhuqinghua@lcwt-DSS8440:~/workspace/HighwayEnv-master/scripts$

Anybody help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant