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

AttributeError: module 'scipy.misc' has no attribute 'imsave' #91

Open
Yuantian013 opened this issue May 29, 2019 · 2 comments
Open

AttributeError: module 'scipy.misc' has no attribute 'imsave' #91

Yuantian013 opened this issue May 29, 2019 · 2 comments

Comments

@Yuantian013
Copy link

(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$

@fxia22
Copy link
Collaborator

fxia22 commented May 29, 2019

Looks like it is the same problem as this one: carpedm20/DCGAN-tensorflow#81

You can pip install pillow

@ahmedosman
Copy link

The 'imsave' function is deprecated in scipy 1.13, I solved the problem by installing scipy 1.12

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

No branches or pull requests

3 participants