henzler / neuralmaterial Goto Github PK
View Code? Open in Web Editor NEWGenerative Modelling of BRDF Textures from Flash Images [SIGGRAPH Asia, 2021]
Generative Modelling of BRDF Textures from Flash Images [SIGGRAPH Asia, 2021]
After calling trainer.fit(model, data) on Win10:
(neuralmaterial) E:\projects\ThirdParty\neuralmaterial>python scripts\train.py
Working directory : E:\projects\ThirdParty\neuralmaterial\trainings\Neuralmaterial
[Data] 25000 train samples
[Data] 25000 val samples
[INFO] Checkpoint loaded.
[INFO] Metadata loaded.
[Model]
decoder | params: 2,778,214
encoder | params: 25,819,304
loss | params: 20,024,384
renderer | params: 0
rotation_encoder | params: 188
total params: 48,622,090
Epoch: 13 | train step: 0%| | 0/25000 [00:00<?, ?it/s]Traceback (most recent call last):
File "", line 1, in
File "C:\Users\onepride\Anaconda3\envs\neuralmaterial2\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "C:\Users\onepride\Anaconda3\envs\neuralmaterial2\lib\multiprocessing\spawn.py", line 125, in _main
prepare(preparation_data)
File "C:\Users\onepride\Anaconda3\envs\neuralmaterial2\lib\multiprocessing\spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\onepride\Anaconda3\envs\neuralmaterial2\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "C:\Users\onepride\Anaconda3\envs\neuralmaterial2\lib\runpy.py", line 268, in run_path
return _run_module_code(code, init_globals, run_name,
File "C:\Users\onepride\Anaconda3\envs\neuralmaterial2\lib\runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "C:\Users\onepride\Anaconda3\envs\neuralmaterial2\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "E:\projects\ThirdParty\neuralmaterial\scripts\train.py", line 8, in
from lib.core.trainer import Trainer
ModuleNotFoundError: No module named 'lib.core'
Hi,
I get this error when I try to test the model:
"_pickle.UnpicklingError: invalid load key, 'v'."
I think it might have something to do with the model being uploaded to github, could you please upload it to google drive? @henzler
Thanks
None of the scripts execute after installation as per the instructions. This issue is apparently due to mismatches in dependencies.
Upon first execution, I got :
'ModuleNotFoundError: No module named 'tensorboard''
After installing tensorboard via pip, I got:
'ModuleNotFoundError: No module named 'kornia''
After installing kornia via pip, I got:
_op = torch._C.jit_get_operation(qualified_op_name)
RuntimeError: No such operator image::read_file
Installed on Ubuntu 18.04 and 20.04 on a gcp cloud VM with a T4 GPU without success.
Could you please review that the installation instructions are accurate?
Thanks
Traceback (most recent call last):
File "scripts/test.py", line 58, in
image = tfm(io.read_image(image_dirs[0]))[None]
File "/home/galem/anaconda3/envs/neuralmaterial/lib/python3.8/site-packages/torchvision/io/image.py", line 230, in read_image
return decode_image(data)
File "/home/galem/anaconda3/envs/neuralmaterial/lib/python3.8/site-packages/torchvision/io/image.py", line 211, in decode_image
output = torch.ops.image.decode_image(input)
RuntimeError: Unsupported image file. Only jpeg and png are currently supported.
OS: Linux
GPU: Tesla K80 (Kepler)
When running test.py
, the reconstructed render seems to come out fine, but the roughness and specular BRDF maps appear to be distorted. The normal map on this particular example seems to be correct, but a few others gave me pause. Running on CPU doesn't seem to make a difference.
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.