Open elvesdynam opened 5 years ago
same problem
Same problem, have you identified the reason?
I have the same issue :(
Same issue :(
Same Issue
+1
Have the same issue- is the solution known?
I also have this issue. Has anybody figured this out?
Same issue.
same here
So what is the solution to fix this error?
Ditto. I was using a mac with an M1 chip where the old Blender is not supported. Switching to one with an Intel chip works for me.
Doesn't matter, the performance of the computer is the problem
same
Hi Gitsamshi, did you solve it by changing a better computer?
I don't have any problems with the image generation getting stuck, but I did put some time into looking at the sources of the error messages; that may be of some help.
The convertViewVec: called in an invalid context
error seems to be the same problem as here; I believe I've fixed that by changing how the object translation is done, specifically by replacing the line below with bpy.context.active_object.location += Vector((x, y, scale))
https://github.com/facebookresearch/clevr-dataset-gen/blob/f0ce2c81750bfae09b5bf94d009f42e055f2cb3a/image_generation/utils.py#L106
The "BROKEN MARGIN" errors can be safely ignored (just comment out the lines below): https://github.com/facebookresearch/clevr-dataset-gen/blob/f0ce2c81750bfae09b5bf94d009f42e055f2cb3a/image_generation/render_images.py#L386-L387
same
After I run commands for image generation, the program shows some invalid context and broken margin and stuck as below. Could anybody please show me how to resolve? Thanks environment:OSX10.14.5 blender:2.78c image_generation chen$ blender --background --python render_images.py -- --num_images 10 found bundled python: /Applications/blender.app/Contents/MacOS/../Resources/2.78/python read blend: data/base_scene.blend convertViewVec: called in an invalid context convertViewVec: called in an invalid context 0.21743071058848407 0.4 left BROKEN MARGIN! 0.25797991560249245 0.4 right BROKEN MARGIN! convertViewVec: called in an invalid context convertViewVec: called in an invalid context 0.3010987159059719 0.4 right BROKEN MARGIN! convertViewVec: called in an invalid context convertViewVec: called in an invalid context Fra:1 Mem:13.74M (0.00M, Peak 13.74M) | Time:00:00.00 | Preparing Scene data Fra:1 Mem:20.39M (0.00M, Peak 20.69M) | Time:00:00.00 | Preparing Scene data Fra:1 Mem:20.39M (0.00M, Peak 20.69M) | Time:00:00.00 | Creating Shadowbuffers Fra:1 Mem:20.39M (0.00M, Peak 20.69M) | Time:00:00.00 | Raytree.. preparing Fra:1 Mem:27.20M (0.00M, Peak 27.20M) | Time:00:00.01 | Raytree.. building Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Raytree finished Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Creating Environment maps Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Caching Point Densities Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Sce: Scene Ve:45732 Fa:49578 La:1 Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Loading voxel datasets Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Sce: Scene Ve:45732 Fa:49578 La:1 Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Sce: Scene Ve:45732 Fa:49578 La:1 Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Volume preprocessing Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Sce: Scene Ve:45732 Fa:49578 La:1 Fra:1 Mem:26.83M (0.00M, Peak 37.47M) | Time:00:00.09 | Sce: Scene Ve:45732 Fa:49578 La:1