fuxirl / dunkcitydynasty Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
On the server of my laboratory, I built a Ubuntu 20.04 environment using the following Dockerfile
FROM nvidia/cuda:11.3.1-runtime-ubuntu20.04
# install ubuntu dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
RUN apt-get update && apt-get --no-install-recommends install -yq git cmake build-essential \
libgl1-mesa-dev libsdl2-dev libssl-dev libffi-dev libxml2 libxml2-dev libxslt1-dev libosmesa6-dev zlib1g-dev\
libsdl2-image-dev libsdl2-ttf-dev libsdl2-gfx-dev libboost-all-dev libglew-dev glew-utils\
libdirectfb-dev libst-dev mesa-utils xvfb x11vnc patchelf\
python3-pip python-opengl python3-dev screen wget unzip vim
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN python3 -m pip install --upgrade pip setuptools wheel
RUN pip install torch torchvision torchaudio
Since I always use this Dockfile to create a rl environment, so I did not use the Dockerfile you provided.
After building the image, I create the container with the following command
docker run -id --name container_name --net=host -e DISPLAY=$DISPLAY -v $HOME/.Xauthority:/root/.Xauthority -e NVIDIA_VISIBLE_DEVICES=all -e NVIDIA_DRIVER_CAPABILITIES=all -v path_on_the_host:/workspace --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" --gpus all --env="QT_X11_NO_MITSHM=1" image_name /bin/bash
Note: You need to change --name container_name, image_name, -v path_on_the_host:/workspace
according to your configurations. I put codes and game_server in the path_on_the_host
, so I can run the code in the /workspace
in the container
docker exec -it container_id /bin/bash
Install Wine
dpkg --add-architecture i386
apt-get update
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | apt-key add -
apt install -y software-properties-common
apt-add-repository "deb http://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"
apt install -y --install-recommends winehq-stable
Install requirement.txt, I delete the torch==1.11.0
in requirement.txt, since the docker image includes torch
pip install -r requirements.txt
pip install tensorboard
After I change the config in the line 16 of get_start.py, run
python get_start.py
After I run get_start.py, the displayed visuals in the game window shows that I can successfully log in , but it gets stuck at this interface. I wait for a certain amount of time on this screen, and then attempt to log back into the game. This process is repeated continuously. The output content is as follows.
/usr/bin/env /bin/python /root/.vscode-server/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 39063 -- /workspace/DunkCity/DunkCityDynasty-main/get_start.py
0024:fixme:ntdll:create_logical_proc_info Improve CPU info reporting: system supports 48 logical cores, but only 32 supported!
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 33
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 34
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 35
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 36
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 37
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 38
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 39
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 40
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 41
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 42
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 43
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 44
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 45
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 46
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 47
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0108:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.6000.0)
010c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000896FE10
0108:fixme:combase:RoSetErrorReportingFlags (00000004): stub
0108:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0108:fixme:imm:ImmReleaseContext (000000000002004E, 0000000000010056): stub
0108:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 12.0.0, 256 bits)").
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
0240:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000000036B7FE10
0108:fixme:system:QueryDisplayConfig (00000002 000000000010F9B0 00007FB7E0000010 000000000010F9B8 00007FB7E0000070 0000000000000000): semi-stub
0108:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 12.0.0, 256 bits)").
0108:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0000000037448A30, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 000000000010F690, modes 0000000000000000 partial stub!
0108:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0000000037448A30, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 000000000010F690, modes 00007FB7E0000010 partial stub!
0108:fixme:system:QueryDisplayConfig (00000002 000000000010F6D0 00007FB7E0000010 000000000010F6D8 00007FB7E0000070 0000000000000000): semi-stub
Xlib: extension "MIT-SHM" missing on display ":10.0".
0108:fixme:system:QueryDisplayConfig (00000002 000000000010F7F0 00007FB7E0000010 000000000010F7F8 00007FB7E0000070 0000000000000000): semi-stub
0108:fixme:win:RegisterTouchWindow hwnd 000000000002004E, flags 0 stub!
0044:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
0044:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
0108:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E80, 0000000003DDA3C0, 10, 0, (null), 3, 3, 0000000000000000, 0
0108:fixme:wbemprox:client_security_Release 000000006E7A0E80
0108:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0108:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0108:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E80, 0000000003DDA3C0, 10, 0, (null), 3, 3, 0000000000000000, 0
0108:fixme:wbemprox:client_security_Release 000000006E7A0E80
0108:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0108:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0108:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0108:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000003E70F1E0, 65) stub
0108:fixme:system:QueryDisplayConfig (00000002 000000000010F9E0 00007FB7E0000010 000000000010F9E8 00007FB7E0000070 0000000000000000): semi-stub
0108:fixme:system:QueryDisplayConfig (00000002 000000000010F710 00007FB7E0000010 000000000010F718 00007FB7E0000070 0000000000000000): semi-stub
0108:err:x11drv:xinerama_get_fullscreen_monitors Failed to get xinerama fullscreen monitor indices.
0108:err:x11drv:xinerama_get_fullscreen_monitors Failed to get xinerama fullscreen monitor indices.
0108:fixme:system:QueryDisplayConfig (00000002 000000000010F830 00007FB7E0000010 000000000010F838 00007FB7E0000070 0000000000000000): semi-stub
0108:fixme:system:QueryDisplayConfig (00000002 000000000010F3E0 00007FB7E0000010 000000000010F3E8 00007FB7E0000070 0000000000000000): semi-stub
0108:fixme:system:QueryDisplayConfig (00000002 000000000010F500 00007FB7E0000010 000000000010F508 00007FB7E0000070 0000000000000000): semi-stub
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0118:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FD70
027c:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FD70
0284:fixme:ntdll:create_logical_proc_info Improve CPU info reporting: system supports 48 logical cores, but only 32 supported!
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 33
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 34
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 35
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 36
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 37
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 38
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 39
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 40
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 41
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 42
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 43
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 44
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 45
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 46
0284:fixme:ntdll:create_logical_proc_info skipping logical processor 47
0298:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.6000.0)
029c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000896FE10
0298:fixme:combase:RoSetErrorReportingFlags (00000004): stub
0298:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0298:fixme:imm:ImmReleaseContext (000000000006006E, 0000000000020060): stub
0298:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 12.0.0, 256 bits)").
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
03e4:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000000036B1FE10
0298:fixme:system:QueryDisplayConfig (00000002 000000000010F9B0 00007FD960000010 000000000010F9B8 00007FD960000070 0000000000000000): semi-stub
0298:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 12.0.0, 256 bits)").
0298:fixme:dxgi:dxgi_output_GetDisplayModeList iface 00000000373E9210, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 000000000010F690, modes 0000000000000000 partial stub!
0298:fixme:dxgi:dxgi_output_GetDisplayModeList iface 00000000373E9210, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 000000000010F690, modes 00007FD960000010 partial stub!
0298:fixme:system:QueryDisplayConfig (00000002 000000000010F6D0 00007FD960000010 000000000010F6D8 00007FD960000070 0000000000000000): semi-stub
Xlib: extension "MIT-SHM" missing on display ":10.0".
0298:err:x11drv:xinerama_get_fullscreen_monitors Failed to get xinerama fullscreen monitor indices.
0298:err:x11drv:xinerama_get_fullscreen_monitors Failed to get xinerama fullscreen monitor indices.
0298:err:x11drv:xinerama_get_fullscreen_monitors Failed to get xinerama fullscreen monitor indices.
0298:err:x11drv:xinerama_get_fullscreen_monitors Failed to get xinerama fullscreen monitor indices.
0298:err:x11drv:xinerama_get_fullscreen_monitors Failed to get xinerama fullscreen monitor indices.
0298:fixme:system:QueryDisplayConfig (00000002 000000000010F7F0 00007FD960000010 000000000010F7F8 00007FD960000070 0000000000000000): semi-stub
0298:fixme:win:RegisterTouchWindow hwnd 000000000006006E, flags 0 stub!
02a8:fixme:imm:ImeSetActiveContext (0000000000020030, 0): stub
02a8:fixme:imm:ImmReleaseContext (000000000004006C, 0000000000020030): stub
0298:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E80, 0000000003DDA3C0, 10, 0, (null), 3, 3, 0000000000000000, 0
0298:fixme:wbemprox:client_security_Release 000000006E7A0E80
0298:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0298:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0298:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E80, 0000000003DDA3C0, 10, 0, (null), 3, 3, 0000000000000000, 0
0298:fixme:wbemprox:client_security_Release 000000006E7A0E80
0298:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0298:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0298:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0298:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000003E7FCF00, 65) stub
0298:fixme:system:QueryDisplayConfig (00000002 000000000010F3E0 00007FD960000010 000000000010F3E8 00007FD960000070 0000000000000000): semi-stub
0298:fixme:system:QueryDisplayConfig (00000002 000000000010F500 00007FD960000010 000000000010F508 00007FD960000070 0000000000000000): semi-stub
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
02b0:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FD70
0420:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FD70
System: Ubuntu 20.04
The python version is 3.8.10
. I have successfully installed Wine using the instructions in install_deps.sh
. I have also installed all packages from the requirements.txt
file, except for torch==1.11.0
, as I have already installed version 2.0.1 using pip.
Then, I modified line 20 in get_start.py as follows:
config = {
'id': 1,
'env_setting': 'linux',
'client_path': 'path-to-game-client',
'rl_server_ip': '127.0.0.1',
'rl_server_port': 42636,
'game_server_ip': 'according to the email sent to me',
'game_server_port': according to the email sent to me,
'machine_server_ip': '',
'machine_server_port': 0,
'episode_horizon': 100000,
'user_name': 'according to the email sent to me'
}
When I run python get_start.py
, the output is as follows:
0024:fixme:ntdll:create_logical_proc_info Improve CPU info reporting: system supports 48 logical cores, but only 32 supported!
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 33
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 34
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 35
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 36
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 37
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 38
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 39
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 40
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 41
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 42
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 43
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 44
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 45
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 46
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 47
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: failed to open "path-to-game-client/Lx33.exe": c0000135
When I press Ctrl + C
, the output is as follows:
Traceback (most recent call last):
File "get_start.py", line 74, in <module>
main()
File "get_start.py", line 65, in main
states, infos = env.reset()
File "/workspace/DunkCity/DunkCityDynasty-main/DunkCityDynasty/env/gym_env.py", line 21, in reset
raw_states = self.external_env.reset()
File "/workspace/DunkCity/DunkCityDynasty-main/DunkCityDynasty/env/base.py", line 74, in reset
states = self._wait_for_state(min_player=3)
File "/workspace/DunkCity/DunkCityDynasty-main/DunkCityDynasty/env/base.py", line 259, in _wait_for_state
sleep(0.001)
File "/workspace/DunkCity/DunkCityDynasty-main/DunkCityDynasty/utils/util_fn.py", line 16, in sleep
pass
KeyboardInterrupt
Then I press Ctrl + C
again to stop the process, the output is as follows:
Exception ignored in: <module 'threading' from '/usr/lib/python3.8/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 1388, in _shutdown
lock.acquire()
KeyboardInterrupt:
After that, the process has been stopped.
In order to provide a complete overview of my actions, I've divided the errors into three parts as shown above. I've combined the entire error sequence (which is actually the amalgamation of the three parts above) below to present the complete errors.
0024:fixme:ntdll:create_logical_proc_info Improve CPU info reporting: system supports 48 logical cores, but only 32 supported!
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 33
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 34
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 35
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 36
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 37
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 38
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 39
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 40
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 41
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 42
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 43
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 44
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 45
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 46
0024:fixme:ntdll:create_logical_proc_info skipping logical processor 47
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: failed to open "path-to-game-client/Lx33.exe": c0000135
^CTraceback (most recent call last):
File "get_start.py", line 74, in <module>
main()
File "get_start.py", line 65, in main
states, infos = env.reset()
File "/workspace/DunkCity/DunkCityDynasty-main/DunkCityDynasty/env/gym_env.py", line 21, in reset
raw_states = self.external_env.reset()
File "/workspace/DunkCity/DunkCityDynasty-main/DunkCityDynasty/env/base.py", line 74, in reset
states = self._wait_for_state(min_player=3)
File "/workspace/DunkCity/DunkCityDynasty-main/DunkCityDynasty/env/base.py", line 259, in _wait_for_state
sleep(0.001)
File "/workspace/DunkCity/DunkCityDynasty-main/DunkCityDynasty/utils/util_fn.py", line 16, in sleep
pass
KeyboardInterrupt
^CException ignored in: <module 'threading' from '/usr/lib/python3.8/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 1388, in _shutdown
lock.acquire()
KeyboardInterrupt:
I appreciate your time and attention in reviewing this issue. Please let me know if you need any further information from my side. I'm looking forward to your assistance and insights. Thank you!
根据给出的配置设置了train_rl.py,报错如下:
Unable to connect to the server. Please check your network
配置如下
config = {
'id': id,
'env_setting': 'win',
'client_path': 'F:\CompetitionProject\game_package_release',
'rl_server_ip': '192.168.31.118', # 127.0.0.1
'rl_server_port': 6666,
'game_server_ip': '192.168.31.118', # 127.0.0.1
'game_server_port': 6667,
'machine_server_ip': '',
'machine_server_port': 0,
"user_name": "username",
'episode_horizon': 100000,
'render': True,
}
This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access. 技术分享.mp4 能给个网盘链接吗?为什么要用lfs上传?
Hi,我使用baselines里面ray的代码,即使只开一个环境也会遇到如下错误:
2023-09-28 21:45:49,065 ERROR actor_manager.py:177 -- Worker exception, recreating: ('Batches sent to postprocessing must be from a single trajectory! TERMINATED & TRUNCATED need to be False everywhere, except the last timestep, which can be either True or False for those keys)!', SampleBatch(112: ['obs', 'new_obs', 'actions', 'rewards', 'terminateds', 'truncateds', 'infos', 'eps_id', 'unroll_id', 'agent_index', 't', 'vf_preds', 'action_dist_inputs', 'action_logp']))
不知道您是否清楚是什么情况?
训练一段时间后发现许多线程会阻塞在这个函数里导致线程无法正常退出。请问这个函数会进行网络或者文件操作吗,如果可以的话,方便提供一下这个文件的源代码实现吗。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.