Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use own images set to create voxelized shape

See original GitHub issue

How can I use a set of own images to create a new (no example based) voxel shape.

I want to use pots (images I have from them to make a 3D voxel shape)

The instruction show only the learning aspect and not how to use the code on new images. Or I’m not fully understanding the shapenet part.


Changed the code a bit and put some pictures in the imgs directory.

When running python newobject.obj

I got this error.

Traceback (most recent call last):
  File "", line 84, in <module>
  File "", line 52, in main
    demo_imgs = load_demo_images()
  File "", line 43, in load_demo_images
    return np.array(ims)
ValueError: could not broadcast input array from shape (3,300,300) into shape (3)

I have no idea what this means.

Tried resizing the images to a smaller width and length but that still gives me the same error.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

Metal-jokercommented, Nov 25, 2017

same issue

ramyagopinathpsgcommented, Apr 1, 2019

Convert your images to size 127 x 127.

its not working when i changed the image size to 127 x 127

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Create 3D Voxel Art with MagicaVoxel - YouTube - Create 3D voxel art with this quick and simple guide to using MagicaVoxel. Follow along with step-by-step ...
Read more >
Voxel Skills - Turning Pixel Art into 3D Assets - YouTube
Learn how to take your 2D pixel art graphics and convert them into 3D Voxel Art in just a few minutes with all...
Read more >
What is Kenshape? Take 2D pixel art and turn into 3D Voxel ...
Kenshape is a great and very inexpensive 3D Voxel art tool! In this tutorial I'll go through all of the top features of...
Read more >
Create 3D Voxel Art with MagicaVoxel: FREE Project Files ...
In this video tutorial, learn how to get started making voxel art with MagicaVoxel. FREE project files included.
Read more >
How to Voxelize Meshes and Point Clouds in Python
For a step-by-step tutorial on how to install and use Open3D, ... the voxel mesh from the input point cloud in Open3D| Image...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found