Open Yuantian013 opened 5 years ago
Looks like it is the same problem as this one: https://github.com/carpedm20/DCGAN-tensorflow/issues/81
You can pip install pillow
The 'imsave' function is deprecated in scipy 1.13, I solved the problem by installing scipy 1.12
(py35) weipan@TUD278688:~/GibsonEnv$ python examples/demo/play_ant_camera.py pybullet build time: May 29 2019 16:43:55 pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html /home/weipan/GibsonEnv/examples/demo/../configs/play/play_ant_camera.yaml /home/weipan/GibsonEnv/gibson/envs/env_bases.py:66: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. config_data = yaml.load(f) startThreads creating 1 threads. starting thread 0 started thread 0 argc=2 argv[0] = --unused argv[1] = --start_demo_name=Physics Server ExampleBrowserThreadFunc started X11 functions dynamically loaded using dlopen/dlsym OK! Creating context Created GL 3.0 context Direct GLX rendering context obtained Making context current GL_VENDOR=VMware, Inc. GL_RENDERER=llvmpipe (LLVM 7.0, 256 bits) GL_VERSION=3.3 (Core Profile) Mesa 18.2.2 GL_SHADING_LANGUAGE_VERSION=3.30 pthread_getconcurrency()=0 Version = 3.3 (Core Profile) Mesa 18.2.2 Vendor = VMware, Inc. Renderer = llvmpipe (LLVM 7.0, 256 bits) b3Printf: Selected demo: Physics Server startThreads creating 1 threads. starting thread 0 started thread 0 MotionThreadFunc thread started ven = VMware, Inc. Processing the data: Total 1 scenes 0 train 1 test Indexing number of devices found 1 0%| | 0/1 [00:00<?, ?it/s]Loaded EGL 1.5 after reload. GL_VENDOR=NVIDIA Corporation GL_RENDERER=TITAN V/PCIe/SSE2 GL_VERSION=4.6.0 NVIDIA 418.67 GL_SHADING_LANGUAGE_VERSION=4.60 NVIDIA finish loading shaders 100%|█████████████████████████████████████████████| 1/1 [00:00<00:00, 3.92it/s] 100%|█████████████████████████████████████████| 190/190 [00:10<00:00, 21.71it/s] Episode: steps:0 score:0 Episode count: 0 Play Env: step: complete: 38.82 fps, 0.02576 seconds killing <subprocess.Popen object at 0x7fea46a7b4a8> File "examples/demo/play_ant_camera.py", line 15, in
File "/home/weipan/GibsonEnv/gibson/utils/play.py", line 116, in play
File "/home/weipan/GibsonEnv/gibson/envs/env_modalities.py", line 411, in _step
File "/home/weipan/GibsonEnv/gibson/envs/env_modalities.py", line 467, in render_to_UI
File "/home/weipan/GibsonEnv/gibson/envs/env_ui.py", line 70, in update_view
AttributeError: module 'scipy.misc' has no attribute 'imsave'
numActiveThreads = 0
stopping threads
stopThreads: Thread 0 used: 1
Thread with taskId 0 exiting
Thread TERMINATED
destroy semaphore
semaphore destroyed
destroy main semaphore
main semaphore destroyed
finished
numActiveThreads = 0
btShutDownExampleBrowser stopping threads
stopThreads: Thread 0 used: 1
Thread with taskId 0 exiting
Thread TERMINATED
destroy semaphore
semaphore destroyed
destroy main semaphore
main semaphore destroyed
(py35) weipan@TUD278688:~/GibsonEnv$