aayars / py-noisemaker Goto Github PK
View Code? Open in Web Editor NEWClassic procedural noise generation algorithms, adapted for Python 3 and TensorFlow.
License: Other
Classic procedural noise generation algorithms, adapted for Python 3 and TensorFlow.
License: Other
I expected that doing the following steps from my home directory
would cause the creation of a file called noise.png in the newly created output directory. Instead the process prints the below output and the directory remains empty. I am guessing these are just hardware warnings. It then prints the path of the requested file output/noise.png and exits. Am I doing something incorrect?
2020-11-19 06:42:11.712262: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory 2020-11-19 06:42:11.712313: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. 2020-11-19 06:42:12.477572: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory 2020-11-19 06:42:12.477639: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303) 2020-11-19 06:42:12.477660: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (72c11cc25787): /proc/driver/nvidia/version does not exist 2020-11-19 06:42:12.478577: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2020-11-19 06:42:12.488161: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 3504000000 Hz 2020-11-19 06:42:12.488719: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55dae7235400 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2020-11-19 06:42:12.488768: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version output/noise.png
Hi thanks for your contribution, I noticed that you refer to Perlin noise wiki page in your docs, but didn't see it in the code. Did I miss something?
Thanks
Alex
This error seems to happen every time animaker
is used (for me, at least). It all seems to root from subprocess.check_call()
, according to this traceback:
File "/Users/$USERNAME/noisemaker/bin/animaker", line 10, in <module>
sys.exit(main())
File "/Users/$USERNAME/noisemaker/lib/python3.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Users/$USERNAME/noisemaker/lib/python3.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/$USERNAME/noisemaker/lib/python3.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/$USERNAME/noisemaker/lib/python3.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Users/$USERNAME/noisemaker/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/$USERNAME/noisemaker/lib/python3.7/site-packages/noisemaker/scripts/animaker.py", line 97, in main
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 342, in check_call
retcode = call(*popenargs, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'convert': 'convert'
I've looked everywhere I can think of, but the error keeps coming back to haunt my tired little head, so I would appreciate it if this gets some attention. Thanks! :)
Additional Info:
OS: MacOS Mojave 1.14.6
Python version 3.7
Ran via Terminal in a custom directory with the command: animaker --save-frames ./frames --name noisething.gif random
It seems like tensorflow==1.3.0
is only available for python 3.6, not for later versions of python, so it'd be cool if noisemaker worked with tensorflow 2
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.