vladvrabie / material_recommender Goto Github PK
View Code? Open in Web Editor NEWA Blender 2.80 add-on that helps you generate materials
License: GNU General Public License v3.0
A Blender 2.80 add-on that helps you generate materials
License: GNU General Public License v3.0
any way to reduce the gpu memory requirements ?
After starting the learning procedure the following error occurs:
location: <unknown location>:-1 Error: Python: Traceback (most recent call last): File "C:\Users\fabri\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\material_recommender\operators\preferences\learn.py", line 28, in execute preferences_properties.is_persistent File "C:\Users\fabri\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\material_recommender\gms\gpr.py", line 35, in train gpr_new.optimize('rprop') File "c:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\site-packages\GPy\core\gp.py", line 659, in optimize ret = super(GP, self).optimize(optimizer, start, messages, max_iters, ipython_notebook, clear_after_finish, **kwargs) File "c:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\site-packages\paramz\model.py", line 108, in optimize opt = optimizer(max_iters=max_iters, **kwargs) File "c:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\site-packages\paramz\optimization\optimization.py", line 289, in __init__ _check_for_climin() File "c:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\site-packages\paramz\optimization\optimization.py", line 248, in _check_for_climin import climin File "c:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\site-packages\climin\__init__.py", line 14, in <module> ctypes.CDLL(os.path.join(basepath, 'core', 'libmmd.dll')) File "c:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\ctypes\__init__.py", line 364, in __init__ self._handle = _dlopen(self._name, mode)
Any solution to this? Have you ever faced it?
I am using the Python Blender in Blender 2.92.
Hi,
I added the pretrained model from KÁROLY ZSOLNAI-FEHÉR, but received following error:
ValueError:
Input 0 of layer dense_1 is incompatible with the layer: expected axis -1 of input shape to have value 10240 but received input with shape [None, 10752]
I replaced the cnn_architecture.json and cnn_weights.h5 with the pretrained model inside the gms folder.
Hello.
After reading your paper, while using this technology, I have a question about how to assign the recommended material to the scene.
Page 4 of the paper says "Automatic Workflow - randomly assign the materials to the selected objects in the scene (Figures 1 (right) and 3). This is ideal for mass-scale material synthesis, when hundreds of materials are sought."
How do I use these automated workflows?
It's been a while since you posted this repository, but I'd appreciate it if you could answer it.
Traceback (most recent call last):
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\scripts\modules\addon_utils.py", line 351, in enable
mod = __import__(module_name)
File "C:\Users\Ulf3000\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\material_recommender\__init__.py", line 23, in <module>
from . operators.preferences.generator import PreferencesListGenerator
File "C:\Users\Ulf3000\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\material_recommender\operators\preferences\generator.py", line 3, in <module>
from material_recommender.gms import cnn
File "C:\Users\Ulf3000\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\material_recommender\gms\cnn.py", line 11, in <module>
from keras import backend as K
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\site-packages\keras\__init__.py", line 3, in <module>
from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 959, in _find_and_load_unlocked
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\site-packages\tensorflow\__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\site-packages\tensorflow\__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\site-packages\tensorflow_core\__init__.py", line 42, in <module>
from . _api.v2 import audio
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\site-packages\tensorflow_core\_api\v2\audio\__init__.py", line 10, in <module>
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in <module>
from tensorflow.python.eager import context as _context
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\site-packages\tensorflow_core\python\eager\context.py", line 29, in <module>
from tensorflow.core.protobuf import config_pb2
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\site-packages\tensorflow_core\core\protobuf\config_pb2.py", line 7, in <module>
from google.protobuf import descriptor as _descriptor
File "C:\Program Files No Install\BLENDER\blender-2.90.0-9cbf43801ba2-windows64\2.90\python\lib\site-packages\google\protobuf\__init__.py", line 37, in <module>
__import__('pkg_resources').declare_namespace(__name__)
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 963, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 906, in _find_spec
File "<frozen importlib._bootstrap_external>", line 1280, in find_spec
File "<frozen importlib._bootstrap_external>", line 1254, in _get_spec
File "<frozen importlib._bootstrap_external>", line 1235, in _legacy_get_spec
File "<frozen importlib._bootstrap>", line 441, in spec_from_loader
File "<frozen importlib._bootstrap_external>", line 594, in spec_from_file_location
FileNotFoundError: [Errno 2] No such file or directory: 'H:\\Temp\\tmppi3ls4m9\\setuptools-41.2.0-py2.py3-none-any.whl'
from the blender output when i try to enable the addon , environment is conda python 3.7. no idea , is it supposed to download something can i manually solve this ?
I created a new anaconda environment, installed the packages listed in the README file and verified that importing each of them worked, and then linked the new conda environment with Blender.
Unfortunately, when I try to install "material_recommender-master.zip" as an add-on in Blender, it fails with the following traceback:
Traceback (most recent call last):
File "/home/trevor/Pictures/blender/blender-2.83.8-linux64/2.83/scripts/modules/addon_utils.py", line 351, in enable
mod = __import__(module_name)
File "/home/trevor/.config/blender/2.83/scripts/addons/material_recommender-master/__init__.py", line 23, in <module>
from . operators.preferences.generator import PreferencesListGenerator
File "/home/trevor/.config/blender/2.83/scripts/addons/material_recommender-master/operators/preferences/generator.py", line 3, in <module>
from material_recommender.gms import cnn
ModuleNotFoundError: No module named 'material_recommender'
I think it would be useful to add a button linked to an operator that deletes the existing saved models (gpr, gplvm) in the temporary folder.
Also using an already trained model (gpr, gplvm) without re-train in recommendation panel is actually not possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.