Giter VIP home page Giter VIP logo

Comments (2)

ThibaultGROUEIX avatar ThibaultGROUEIX commented on July 2, 2024

That would be great ! great work !

from neural_renderer.

ThibaultGROUEIX avatar ThibaultGROUEIX commented on July 2, 2024

For exemple, this textured obj appears fine in meshload but gives the error below when given as input to example1.py:

Traceback (most recent call last):
  File "examples/example1.py", line 66, in <module>
    run()
  File "examples/example1.py", line 31, in run
    vertices, faces , textures= neural_renderer.load_obj(args.filename_input, load_texture = True)
  File "/home/thibault/projects/neural_renderer/neural_renderer/load_obj.py", line 184, in load_obj
    textures = load_textures(filename_obj, filename_mtl, texture_size)
  File "/home/thibault/projects/neural_renderer/neural_renderer/load_obj.py", line 77, in load_textures
    color = chainer.cuda.to_gpu(color)
  File "/home/thibault/anaconda2/envs/neural_mesh/lib/python3.5/site-packages/chainer/backends/cuda.py", line 274, in to_gpu
    return _array_to_gpu(array, device_, stream)
  File "/home/thibault/anaconda2/envs/neural_mesh/lib/python3.5/site-packages/chainer/backends/cuda.py", line 319, in _array_to_gpu
    return cupy.asarray(array)
  File "/home/thibault/anaconda2/envs/neural_mesh/lib/python3.5/site-packages/cupy/creation/from_data.py", line 60, in asarray
    return core.array(a, dtype, False)
  File "cupy/core/core.pyx", line 1997, in cupy.core.core.array
  File "cupy/core/core.pyx", line 2028, in cupy.core.core.array
ValueError: Unsupported dtype object

obj.zip

from neural_renderer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.