EdwardSmith1884 / 3D-IWGAN

A repository for the paper "Improved Adversarial Systems for 3D Object Generation and Reconstruction".
MIT License
195 stars 56 forks source link

problem about Blender #1

Closed tp030ny closed 7 years ago

tp030ny commented 7 years ago

I got some problem of implementation of the code 'DataSetPrep.py'. The Render-process can't work on my computer, and the error information as follows:

'Error: File written by newer Blender binary (270.5), expect loss of data! Traceback (most recent call last): File "/home/yves/project_gan/3D_gan/ours/render_pipeline/render_model_views.py", line 23, in bpy.context.user_preferences.addons['cycles'].preferences.compute_device_type = 'CUDA' AttributeError: 'NoneType' object has no attribute 'compute_device_type''

Which version of the Blender utilized in this work? and which of the python version? I set the blender path as ''g_blender_executable_path = '/home/yves/blender-2.70-linux-glibc211-x86_64/blender' #!! MODIFY if necessary'', is it right?

EdwardSmith1884 commented 7 years ago

I pushed a fix just now, lines 23 and 24 in render_model_views.py were causing problems