Giter Site home page Giter Site logo

Comments (3)

Speierers avatar Speierers commented on August 16, 2024 2

My bad! This is now fixed and I added a test for this: b7b7f1d
Thanks for reporting this!

from mitsuba2.

abhinavvs avatar abhinavvs commented on August 16, 2024

I have the same issue on Linux (Ubuntu 16.04) as well. I had to restart the Python Kernel and only then was I able to switch variants.

Here is the error message I get when switching from scalar_rgb to gpu_autodiff_rgb (which is almost exactly same as the one shown above):

ImportError                               Traceback (most recent call last)
<ipython-input-46-d33d0fecbe85> in <module>
----> 1 mitsuba.set_variant('gpu_autodiff_rgb')

~/mitsuba2/build/dist/python/mitsuba/__init__.py in set_variant(value)
    160         modules = {
    161             'mitsuba.core': (_import('mitsuba.core_ext'),
--> 162                              _import('mitsuba.core_' + value + '_ext')),
    163             'mitsuba.render': (_import('mitsuba.render_ext'),
    164                                _import('mitsuba.render_' + value + '_ext'))

~/anaconda3/lib/python3.7/importlib/__init__.py in import_module(name, package)
    125                 break
    126             level += 1
--> 127     return _bootstrap._gcd_import(name[level:], package, level)
    128 
    129 
~/anaconda3/lib/python3.7/importlib/_bootstrap.py in _gcd_import(name, package, level)
~/anaconda3/lib/python3.7/importlib/_bootstrap.py in _find_and_load(name, import_)
~/anaconda3/lib/python3.7/importlib/_bootstrap.py in _find_and_load_unlocked(name, import_)
~/anaconda3/lib/python3.7/importlib/_bootstrap.py in _load_unlocked(spec)
~/anaconda3/lib/python3.7/importlib/_bootstrap.py in module_from_spec(spec)
~/anaconda3/lib/python3.7/importlib/_bootstrap_external.py in create_module(self, spec)
~/anaconda3/lib/python3.7/importlib/_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)

ImportError: generic_type: type "Ray3f" is already registered!

from mitsuba2.

wjakob avatar wjakob commented on August 16, 2024

cc @Speierers

from mitsuba2.

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.