diff options
author | Vee9ahd1 <[email protected]> | 2021-05-10 20:14:15 -0400 |
---|---|---|
committer | Vee9ahd1 <[email protected]> | 2021-05-10 20:14:15 -0400 |
commit | 02e16cfc050b180478176a61d7f7cdd5e72a1283 (patch) | |
tree | 812dcc532a1db6b7df9043c7eae79441cf18cf6e | |
parent | a7466accc6fc68f117444d7231f486013c8c6b6b (diff) |
updated readme with some additional troubleshooting info and a new description.
-rw-r--r-- | README.md | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -1,21 +1,21 @@ # GANtools -Python-based cli tools for generating images using bigGAN. +CLI tool for rendering [Artbreeder](https://artbreeder.com) images locally! ## Instructions 1. Install Python 3 x64; it is very important that you get the 64 bit version or it will not work. If you are on Windows, be sure to check the "add to PATH" box in the installer. (Note for macOS users: if you are going to use brew to install python make sure you replace `python` with `python3` and `pip` with `pip3` in all of the following steps). 2. Install git https://git-scm.com/downloads 3. Install gantools -``` +``` sh pip install git+https://gitlab.com/Vee9ahd1/gantools ``` 4. Read the help dialog -``` +``` sh gantools -h ``` ## Example usage -``` +``` sh gantools --username [email protected] --password mypassword123 --nframes 20 --keys 7968340a72eabab735d04dba 0416461072e5e22fd6d1637c c37d216dfd865aa7397db242 ``` where the hexidecimal strings after `--keys` are the IDs found in an image's ganbreeder URL (e.g. https://ganbreeder.app/i?k=c37d216dfd865aa7397db242 has key: c37d216dfd865aa7397db242). You can list arbitrarily many keys; just be sure to increase your `--nframes` value to compensate (and be prepared for a longer render time). @@ -30,11 +30,20 @@ Linux: install gentoo. Did you check "add Python to PATH" in the installer? Probably not. Reinstall and be sure to do that. ### Missing implementation that supports loader(\*(\'... Somehow the tfhub cache gets invalidated sometimes. IDK what causes it at that point but if you delete the tfhub\_modules subdirectory it gives you the problem will be fixed (note: next time you run the script it will have to re-download the model so it will be slow). +### Some arcane tensorflow error about missing symbols +This is usually a mismatch with your system's installed cuda and tensorflow. +If I were to package this correctly, there would be a better solution, but for now just install +gantools in a virtualenv: +``` sh +pip install virtualenv +virtualenv ./gantools_venv +source gantools_venv/bin/activate # do this whenever you want to use gantools +``` ### SSL missing issuer certificate. ``` "urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>" ``` AFAIK this is a MacOS only issue. Look in the Python3 install folder and you'll see a file called `Install Certificates.command`. Double click to run it. If that doesn't work (or if you installed Python with brew) try this: -``` +``` sh pip3 install --upgrade certifi ``` |