diff options
author | pommicket <leonardomtenenbaum@gmail.com> | 2015-09-10 17:12:06 -0400 |
---|---|---|
committer | pommicket <leonardomtenenbaum@gmail.com> | 2015-09-10 17:12:06 -0400 |
commit | b38263c24c69f7ac94726a611a3bbf2a7a614b8a (patch) | |
tree | be8871a2ebdfda07b95f2c598969177434b59d6b | |
parent | 0a340821eb4131175c7abfc242a36af0b4d35a65 (diff) |
Edited readme
-rw-r--r-- | README.md | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -25,10 +25,17 @@ AutoAudio: - PyOpenCL On Ubuntu/Debian you can get them using: -`sudo apt-get install python python-pil python-numpy python-pyopencl python-opencv` +``` +sudo apt-get install python python-pil python-numpy python-pyopencl python-opencv +``` On other platforms, you can use [pip](https://pip.pypa.io/en/stable/), or visit the libraries' websites. +To run AutoArt: +```bash +cd /directory/where/AutoArt/is/ +``` + To run AutoImages: `python AutoImagesGPU2.py` To run AutoVideos: @@ -37,6 +44,14 @@ To run AutoAudio: `python AutoAudioGPU.py` Don't worry if when you run it, it gives the following message: -`/usr/lib/python2.7/dist-packages/pyopencl/__init__.py:61: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more. "to see more.", CompilerWarning)` +``` +/usr/lib/python2.7/dist-packages/pyopencl/__init__.py:61: +CompilerWarning: Non-empty compiler output encountered. +Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more. "to see more.", CompilerWarning) +``` Also don't worry if AutoArt closes at, say, 10/15, prints `Segmentation Fault`, and re-opens saying 0/5, all 15 images will be made. + +You should not create images/videos with a resolution of over 3000x3000, or audio files that are over 10 minutes in length (but this depends on the amount of memory your GPU has). If you create an image/video that is too large or an audio file that is too long, you will see the following error message: + +`LogicError: create_buffer failed: invalid buffer size` |