Giter Site home page Giter Site logo

py-noisemaker's People

Contributors

aayars avatar dependabot-preview[bot] avatar dependabot[bot] avatar jesshewitt avatar raboof avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

py-noisemaker's Issues

Perlin Noise - question

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

Update to tensorflow 2

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

Following the documentation does not produce output

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

FileNotFoundError: [Errno 2] No such file or directory: 'convert': 'convert'

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

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.