You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to generate single images after training with the notebook.
After training a model, the notebook is unable to generate image results. When the following command is run, the following error occurs-
!python generate.py --outdir=/content/out/images/ --trunc=0.8 --seeds=0 --network=/content/drive/MyDrive/ladiescrop-network-snapshot-012885.pkl
generate.py:59: SyntaxWarning: "is not" with a literal. Did you mean "!="?
elif(len(seeds) is not 3):
Traceback (most recent call last):
File "generate.py", line 25, in
from opensimplex import OpenSimplex
File "/usr/local/lib/python3.8/dist-packages/opensimplex/init.py", line 4, in
from .api import *
File "/usr/local/lib/python3.8/dist-packages/opensimplex/api.py", line 2, in
from .internals import _init, _noise2, _noise3, _noise4, _noise2a, _noise3a, _noise4a
File "/usr/local/lib/python3.8/dist-packages/opensimplex/internals.py", line 9, in
from numba import njit, prange
File "/usr/local/lib/python3.8/dist-packages/numba/init.py", line 42, in
from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
File "/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/init.py", line 3, in
from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
File "/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/decorators.py", line 3, in
from numba.np.ufunc import _internal
SystemError: initialization of _internal failed without raising an exception
The text was updated successfully, but these errors were encountered:
So the issue is within the interpolation logic to generate video outputs (interpolating from seed to seed). opensimplex is used in the OSN() class that is used to predict noise in a noiseloop. If you comment all these out (along with the if else logic from generate_images(), it works. But you'll only be able to use interpolation=linear in generate.py.
Unable to generate single images after training with the notebook.
After training a model, the notebook is unable to generate image results. When the following command is run, the following error occurs-
!python generate.py --outdir=/content/out/images/ --trunc=0.8 --seeds=0 --network=/content/drive/MyDrive/ladiescrop-network-snapshot-012885.pkl
generate.py:59: SyntaxWarning: "is not" with a literal. Did you mean "!="?
elif(len(seeds) is not 3):
Traceback (most recent call last):
File "generate.py", line 25, in
from opensimplex import OpenSimplex
File "/usr/local/lib/python3.8/dist-packages/opensimplex/init.py", line 4, in
from .api import *
File "/usr/local/lib/python3.8/dist-packages/opensimplex/api.py", line 2, in
from .internals import _init, _noise2, _noise3, _noise4, _noise2a, _noise3a, _noise4a
File "/usr/local/lib/python3.8/dist-packages/opensimplex/internals.py", line 9, in
from numba import njit, prange
File "/usr/local/lib/python3.8/dist-packages/numba/init.py", line 42, in
from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
File "/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/init.py", line 3, in
from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
File "/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/decorators.py", line 3, in
from numba.np.ufunc import _internal
SystemError: initialization of _internal failed without raising an exception
The text was updated successfully, but these errors were encountered: