Replies: 2 comments 4 replies
-
will apollo provide the pre-trained onnx models of yolo3d? |
Beta Was this translation helpful? Give feedback.
1 reply
-
[shy@in-dev-docker:/apollo_workspace]$ amodel install petrv1
WARNING:root:File downloaded before! use cached file in /tmp/petrv1.zip
Traceback (most recent call last):
File "/usr/lib/python3.10/shutil.py", line 816, in move
os.rename(src, real_dst)
OSError: [Errno 18] Invalid cross-device link: '/tmp/amodel/extract_path/petrv1' -> '/apollo/modules/perception/data/models/PETR_V1_paddle'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/amodel", line 8, in <module>
sys.exit(main())
File "/home/shy/.local/lib/python3.10/site-packages/amodel/main.py", line 52, in main
amodel_install(args.model_name, args.skip)
File "/home/shy/.local/lib/python3.10/site-packages/amodel/model_manage.py", line 304, in amodel_install
is_success = _install_model(model_meta, extract_path, skip_install)
File "/home/shy/.local/lib/python3.10/site-packages/amodel/model_manage.py", line 256, in _install_model
shutil.move(extract_path, install_path)
File "/usr/lib/python3.10/shutil.py", line 832, in move
copytree(src, real_dst, copy_function=copy_function,
File "/usr/lib/python3.10/shutil.py", line 559, in copytree
return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
File "/usr/lib/python3.10/shutil.py", line 457, in _copytree
os.makedirs(dst, exist_ok=dirs_exist_ok)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/apollo/modules/perception/data/models/PETR_V1_paddle' why PermissionError, how to fix? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
perception models
Starting from apollo8.0, we have removed the model files from the source code to facilitate quick download of the code. You should manually download and install the model by Model managent
model download urls
Model managent
We use
amodel
to manage the models in source code mode.Install amodel
Since amodel 1.0 and 2.0 are not compatible, we will install it into the container later. The temporary solution now is to install it manually.
1. Download model
Download the model and install it so you can use
amodel install "model_name"
2. List models
View models already installed in the system
Beta Was this translation helpful? Give feedback.
All reactions