Here is the traceback of the train.py
I think it may be the version of the numpy.
Traceback (most recent call last):
File “/home/greyhare/jetson-inference/python/training/classification/train.py”, line 29, in
from torch.utils.tensorboard import SummaryWriter
File “/usr/local/lib/python3.8/dist-packages/torch/utils/tensorboard/init.py”, line 12, in
from .writer import FileWriter, SummaryWriter # noqa: F401
File “/usr/local/lib/python3.8/dist-packages/torch/utils/tensorboard/writer.py”, line 16, in
from ._embedding import (
File “/usr/local/lib/python3.8/dist-packages/torch/utils/tensorboard/_embedding.py”, line 9, in
_HAS_GFILE_JOIN = hasattr(tf.io.gfile, “join”)
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorboard/lazy.py”, line 65, in getattr
return getattr(load_once(self), attr_name)
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorboard/lazy.py”, line 97, in wrapper
cache[arg] = f(arg)
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorboard/lazy.py”, line 50, in load_once
module = load_fn()
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorboard/compat/init.py”, line 45, in tf
import tensorflow
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorflow/init.py”, line 38, in
from tensorflow.python.tools import module_util as _module_util
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorflow/python/init.py”, line 45, in
from tensorflow.python.feature_column import feature_column_lib as feature_column
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorflow/python/feature_column/feature_column_lib.py”, line 18, in
from tensorflow.python.feature_column.feature_column import *
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorflow/python/feature_column/feature_column.py”, line 143, in
from tensorflow.python.layers import base
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorflow/python/layers/base.py”, line 16, in
from tensorflow.python.keras.legacy_tf_layers import base
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorflow/python/keras/init.py”, line 25, in
from tensorflow.python.keras import models
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorflow/python/keras/models.py”, line 25, in
from tensorflow.python.keras.engine import training_v1
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/training_v1.py”, line 46, in
from tensorflow.python.keras.engine import training_arrays_v1
File “/home/greyhare/.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/training_arrays_v1.py”, line 37, in
from scipy.sparse import issparse # pylint: disable=g-import-not-at-top
File “/usr/lib/python3/dist-packages/scipy/sparse/init.py”, line 229, in
from .base import *
File “/usr/lib/python3/dist-packages/scipy/sparse/base.py”, line 8, in
from .sputils import (isdense, isscalarlike, isintlike,
File “/usr/lib/python3/dist-packages/scipy/sparse/sputils.py”, line 16, in
supported_dtypes = [np.typeDict for x in supported_dtypes]
File “/usr/lib/python3/dist-packages/scipy/sparse/sputils.py”, line 16, in
supported_dtypes = [np.typeDict for x in supported_dtypes]
File “/home/greyhare/.local/lib/python3.8/site-packages/numpy/init.py”, line 320, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module ‘numpy’ has no attribute ‘typeDict’
Thanks for the reply