Skip to content

fresh install and errors #3422

@divamag3-cloud

Description

@divamag3-cloud

new pc new install of windows, new download and install of kohya.
went to use the kohya ss wd_14 to generat captions for images in a folder and was given this, i dont know what the issue is but having looked around the web for a few hours there was no fix that would work

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.6 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\pinokio\bin\miniconda\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\pinokio\bin\miniconda\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\Scripts\accelerate.exe_main
.py", line 4, in
from accelerate.commands.accelerate_cli import main
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate_init
.py", line 3, in
from .accelerator import Accelerator
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\accelerator.py", line 39, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\tracking.py", line 42, in
from torch.utils import tensorboard
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_init.py", line 12, in
from .writer import FileWriter, SummaryWriter # noqa: F401
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard\writer.py", line 16, in
from .embedding import (
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_embedding.py", line 9, in
HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 97, in wrapper
cache[arg] = f(arg)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 50, in load_once
module = load_fn()
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 45, in tf
import tensorflow
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow_init
.py", line 37, in
from tensorflow.python.tools import module_util as module_util
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python_init
.py", line 37, in
from tensorflow.python.eager import context
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\eager\context.py", line 33, in
from tensorflow.python.client import pywrap_tf_session
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\client\pywrap_tf_session.py", line 19, in
from tensorflow.python.client.pywrap_tf_session import *
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init_.py)

During handling of the above exception, another exception occurred:

AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.6 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\pinokio\bin\miniconda\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\pinokio\bin\miniconda\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\Scripts\accelerate.exe_main
.py", line 4, in
from accelerate.commands.accelerate_cli import main
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate_init
.py", line 3, in
from .accelerator import Accelerator
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\accelerator.py", line 39, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\tracking.py", line 42, in
from torch.utils import tensorboard
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_init.py", line 12, in
from .writer import FileWriter, SummaryWriter # noqa: F401
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard\writer.py", line 16, in
from .embedding import (
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_embedding.py", line 9, in
HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 97, in wrapper
cache[arg] = f(arg)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 50, in load_once
module = load_fn()
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 45, in tf
import tensorflow
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow_init
.py", line 37, in
from tensorflow.python.tools import module_util as module_util
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python_init
.py", line 42, in
from tensorflow.python import data
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data_init_.py", line 21, in
from tensorflow.python.data import experimental
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental_init_.py", line 97, in
from tensorflow.python.data.experimental import service
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\service_init_.py", line 419, in
from tensorflow.python.data.experimental.ops.data_service_ops import distribute
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 22, in
from tensorflow.python.data.experimental.ops import compression_ops
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py", line 16, in
from tensorflow.python.data.util import structure
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\util\structure.py", line 22, in
from tensorflow.python.data.util import nest
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\util\nest.py", line 34, in
from tensorflow.python.framework import sparse_tensor as sparse_tensor
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 25, in
from tensorflow.python.framework import constant_op
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in
from tensorflow.python.eager import execute
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\eager\execute.py", line 21, in
from tensorflow.python.framework import dtypes
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\dtypes.py", line 29, in
from tensorflow.python.lib.core import pywrap_bfloat16
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py)

During handling of the above exception, another exception occurred:

AttributeError: ARRAY_API not found
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init_.py)

During handling of the above exception, another exception occurred:

ImportError: numpy.core.multiarray_umath failed to import
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init_.py)

During handling of the above exception, another exception occurred:

ImportError: numpy.core.umath failed to import

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.6 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\pinokio\bin\miniconda\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\pinokio\bin\miniconda\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\Scripts\accelerate.exe_main
.py", line 4, in
from accelerate.commands.accelerate_cli import main
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate_init
.py", line 3, in
from .accelerator import Accelerator
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\accelerator.py", line 39, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\tracking.py", line 42, in
from torch.utils import tensorboard
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_init.py", line 12, in
from .writer import FileWriter, SummaryWriter # noqa: F401
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard\writer.py", line 16, in
from .embedding import (
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_embedding.py", line 9, in
HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 97, in wrapper
cache[arg] = f(arg)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 50, in load_once
module = load_fn()
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 45, in tf
import tensorflow
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow_init
.py", line 37, in
from tensorflow.python.tools import module_util as module_util
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python_init
.py", line 42, in
from tensorflow.python import data
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data_init_.py", line 21, in
from tensorflow.python.data import experimental
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental_init_.py", line 97, in
from tensorflow.python.data.experimental import service
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\service_init_.py", line 419, in
from tensorflow.python.data.experimental.ops.data_service_ops import distribute
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 22, in
from tensorflow.python.data.experimental.ops import compression_ops
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py", line 16, in
from tensorflow.python.data.util import structure
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\util\structure.py", line 22, in
from tensorflow.python.data.util import nest
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\util\nest.py", line 34, in
from tensorflow.python.framework import sparse_tensor as sparse_tensor
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 25, in
from tensorflow.python.framework import constant_op
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in
from tensorflow.python.eager import execute
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\eager\execute.py", line 21, in
from tensorflow.python.framework import dtypes
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\dtypes.py", line 31, in
from tensorflow.python.lib.core import pywrap_float8
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py)

During handling of the above exception, another exception occurred:

AttributeError: ARRAY_API not found
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init_.py)

During handling of the above exception, another exception occurred:

ImportError: numpy.core.multiarray_umath failed to import
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init_.py)

During handling of the above exception, another exception occurred:

ImportError: numpy.core.umath failed to import

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.6 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\pinokio\bin\miniconda\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\pinokio\bin\miniconda\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\Scripts\accelerate.exe_main
.py", line 4, in
from accelerate.commands.accelerate_cli import main
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate_init
.py", line 3, in
from .accelerator import Accelerator
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\accelerator.py", line 39, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\tracking.py", line 42, in
from torch.utils import tensorboard
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_init.py", line 12, in
from .writer import FileWriter, SummaryWriter # noqa: F401
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard\writer.py", line 16, in
from .embedding import (
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_embedding.py", line 9, in
HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 97, in wrapper
cache[arg] = f(arg)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 50, in load_once
module = load_fn()
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 45, in tf
import tensorflow
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow_init
.py", line 37, in
from tensorflow.python.tools import module_util as module_util
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python_init
.py", line 42, in
from tensorflow.python import data
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data_init_.py", line 21, in
from tensorflow.python.data import experimental
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental_init_.py", line 97, in
from tensorflow.python.data.experimental import service
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\service_init_.py", line 419, in
from tensorflow.python.data.experimental.ops.data_service_ops import distribute
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 22, in
from tensorflow.python.data.experimental.ops import compression_ops
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py", line 16, in
from tensorflow.python.data.util import structure
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\util\structure.py", line 22, in
from tensorflow.python.data.util import nest
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\util\nest.py", line 34, in
from tensorflow.python.framework import sparse_tensor as sparse_tensor
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 25, in
from tensorflow.python.framework import constant_op
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in
from tensorflow.python.eager import execute
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\eager\execute.py", line 21, in
from tensorflow.python.framework import dtypes
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\dtypes.py", line 31, in
from tensorflow.python.lib.core import pywrap_float8
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py)

During handling of the above exception, another exception occurred:

AttributeError: ARRAY_API not found
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init_.py)

During handling of the above exception, another exception occurred:

ImportError: numpy.core.multiarray_umath failed to import
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init_.py)

During handling of the above exception, another exception occurred:

ImportError: numpy.core.umath failed to import
Traceback (most recent call last):
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init_.py", line 42, in tf
from tensorboard.compat import notf # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init_.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\pinokio\bin\miniconda\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\pinokio\bin\miniconda\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\Scripts\accelerate.exe_main
.py", line 4, in
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate_init
.py", line 3, in
from .accelerator import Accelerator
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\accelerator.py", line 39, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\accelerate\tracking.py", line 42, in
from torch.utils import tensorboard
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_init.py", line 12, in
from .writer import FileWriter, SummaryWriter # noqa: F401
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard\writer.py", line 16, in
from .embedding import (
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_embedding.py", line 9, in
HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 97, in wrapper
cache[arg] = f(arg)
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 50, in load_once
module = load_fn()
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorboard\compat_init
.py", line 45, in tf
import tensorflow
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow_init
.py", line 37, in
from tensorflow.python.tools import module_util as module_util
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python_init
.py", line 42, in
from tensorflow.python import data
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data_init_.py", line 21, in
from tensorflow.python.data import experimental
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental_init_.py", line 97, in
from tensorflow.python.data.experimental import service
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\service_init_.py", line 419, in
from tensorflow.python.data.experimental.ops.data_service_ops import distribute
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 22, in
from tensorflow.python.data.experimental.ops import compression_ops
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py", line 16, in
from tensorflow.python.data.util import structure
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\util\structure.py", line 22, in
from tensorflow.python.data.util import nest
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\data\util\nest.py", line 34, in
from tensorflow.python.framework import sparse_tensor as _sparse_tensor
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 25, in
from tensorflow.python.framework import constant_op
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in
from tensorflow.python.eager import execute
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\eager\execute.py", line 21, in
from tensorflow.python.framework import dtypes
File "C:\pinokio\api\kohya.pinokio.git\kohya_ss\venv\lib\site-packages\tensorflow\python\framework\dtypes.py", line 37, in
_np_bfloat16 = _pywrap_bfloat16.TF_bfloat16_type()
TypeError: Unable to convert function return value to a Python type! The signature was
() -> handle
14:30:05-409385 INFO ...captioning done

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