Skip to content

Unable to generate single images after training with the notebook #44

@chasetyoung

Description

@chasetyoung

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions