I am trying Running TAO Toolkit on Google Colab.
Here is the link
Object Detection using Yolo V4 Tiny
When I run the below cell
and here is the error
Please let me know how to resolve the above error occurred.
I am trying Running TAO Toolkit on Google Colab.
Here is the link
Object Detection using Yolo V4 Tiny
When I run the below cell
and here is the error
Please let me know how to resolve the above error occurred.
Could you please copy the full log of this cell and upload it via button
log.txt (794.1 KB)
Because the log output from this cell exceeds 5000 lines, it does not display the entire log. If the information in this log is insufficient, I can prepare a complete version separately.
Can you refer to From eff.core import Archive ModuleNotFoundError: No module named 'eff.core' - #10 by venkatesha2411 and check if installing keras==2.6.0 can help?
Can you open “file–>Download–> Download .ipynb” and upload this .ipynb file here? Thanks.
I can get similar error log as yours. Internal team will check further.
after install pynvml gave this error:
2024-08-09 14:37:03.168586: I tensorflow/stream_executor/platform/default/dso_loader.cc:50] Successfully opened dynamic library libcudart.so.12
2024-08-09 14:37:03,265 [TAO Toolkit] [WARNING] tensorflow 40: Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
2024-08-09 14:37:04,659 [TAO Toolkit] [WARNING] root 329: Limited tf.compat.v2.summary API due to missing TensorBoard installation.
2024-08-09 14:37:04,721 [TAO Toolkit] [WARNING] root 329: Limited tf.compat.v2.summary API due to missing TensorBoard installation.
Traceback (most recent call last):
File “/usr/local/bin/yolo_v4_tiny”, line 8, in
sys.exit(main())
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/yolo_v4/entrypoint/yolo_v4.py”, line 12, in main
launch_job(nvidia_tao_tf1.cv.yolo_v4.scripts, “yolo_v4”, sys.argv[1:])
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/common/entrypoint/entrypoint.py”, line 276, in launch_job
modules = get_modules(package)
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/common/entrypoint/entrypoint.py”, line 47, in get_modules
module = importlib.import_module(module_name)
File “/usr/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 843, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/yolo_v4/scripts/train.py”, line 25, in
from keras import backend as K
File “/usr/local/lib/python3.8/dist-packages/keras/init.py”, line 25, in
from keras import models
File “/usr/local/lib/python3.8/dist-packages/keras/models.py”, line 19, in
from keras import backend
File “/usr/local/lib/python3.8/dist-packages/keras/backend.py”, line 36, in
from tensorflow.python.eager.context import get_config
ImportError: cannot import name ‘get_config’ from ‘tensorflow.python.eager.context’ (/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/context.py)
no update?
Sorry, there are some code I forgot to delete in that colab link
the below image is the code that can be deleted in that colab link
Has the current issue been resolved?
This is a regression issue found recently. Internal team is working on that. Will update to you if I have. Thanks.
Im having the same issue
Please rerun the colab. We fix it by doing some changes on two files. It is already merged. You can run the colab as previously.
The detailed info can be found in [BUGFIX] Fix issues caused by pip version and mpi4py version · NVIDIA-AI-IOT/nvidia-tao@5c9a6b0 · GitHub.
When I run the command below, it get this output
Using TensorFlow backend.
2024-08-22 06:31:05,003 [TAO Toolkit] [WARNING] tensorflow 40: Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
2024-08-22 06:31:06,159 [TAO Toolkit] [WARNING] root 329: Limited tf.compat.v2.summary API due to missing TensorBoard installation.
2024-08-22 06:31:06,795 [TAO Toolkit] [WARNING] root 329: Limited tf.compat.v2.summary API due to missing TensorBoard installation.
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
Traceback (most recent call last):
File “/usr/local/bin/yolo_v4_tiny”, line 8, in
sys.exit(main())
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/yolo_v4/entrypoint/yolo_v4.py”, line 12, in main
launch_job(nvidia_tao_tf1.cv.yolo_v4.scripts, “yolo_v4”, sys.argv[1:])
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/common/entrypoint/entrypoint.py”, line 276, in launch_job
modules = get_modules(package)
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/common/entrypoint/entrypoint.py”, line 47, in get_modules
module = importlib.import_module(module_name)
File “/usr/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 843, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/yolo_v4/scripts/train.py”, line 31, in
from nvidia_tao_tf1.cv.yolo_v4.models.utils import build_training_pipeline
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/yolo_v4/models/utils.py”, line 13, in
from nvidia_tao_tf1.cv.yolo_v4.models.yolov4_model import YOLOv4Model
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/yolo_v4/models/yolov4_model.py”, line 27, in
from nvidia_tao_tf1.cv.common.evaluator.ap_evaluator import APEvaluator
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/common/evaluator/ap_evaluator.py”, line 25, in
from matplotlib import pyplot as plt
File “/usr/local/lib/python3.8/dist-packages/matplotlib/pyplot.py”, line 32, in
import matplotlib.colorbar
File “/usr/local/lib/python3.8/dist-packages/matplotlib/colorbar.py”, line 28, in
import matplotlib.artist as martist
File “/usr/local/lib/python3.8/dist-packages/matplotlib/artist.py”, line 11, in
from .path import Path
File “/usr/local/lib/python3.8/dist-packages/matplotlib/path.py”, line 17, in
from . import _path, rcParams
ImportError: numpy.core.multiarray failed to import
Seems it is a new issue. I think the original issue is gone, right?
Please create a new forum topic for tracking. Thanks a lot.
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.