Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied errors occur when building perception packages that require trained model ONNX files to be downloaded from Google Drive #2433

Closed
3 tasks done
ghost opened this issue Apr 20, 2022 · 4 comments
Assignees
Labels
component:perception Advanced sensor data processing and environment understanding. priority:high High urgency and importance. type:bug Software flaws or errors.

Comments

@ghost
Copy link

ghost commented Apr 20, 2022

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

When doing a clean build of any perception packages that require trained model ONNX files (eg: lidar_apollo_instance_segmentation), a permission denied error occurs when gdown tries to download the files from Google Drive.

Expected behavior

ONNX files should be downloaded as expected and the perception packages should build without error

Actual behavior

gdown reports a permission denied error

Screenshot_from_2022-04-20_16-49-59

Steps to reproduce

I am not sure how to reproduce the issue short of doing a complete clean build of Autoware

Versions

  • OS: Ubuntu 20.04
  • ROS 2: Galactic
  • Autoware: Universe
  • gdown: 4.4.0

Possible causes

The theory is that there is a limit to the number of requests that can be made via Google Drive API, and downloads via gdown will fail when the limit is hit.

Additional context

No response

@yukkysaito yukkysaito added Type: bug priority:high High urgency and importance. labels Apr 20, 2022
@yukkysaito
Copy link
Contributor

Can i assign @eratostennis? 🙏

@yukkysaito
Copy link
Contributor

Cause:
If there are too many downloads, Google drive will limit the downloads with gdown.

Temporary solution:
download manually the weight files from download links

@yukkysaito yukkysaito added the component:perception Advanced sensor data processing and environment understanding. label Apr 20, 2022
@eratostennis
Copy link

eratostennis commented Apr 26, 2022

I will store the model on another storage this week to avoid the limitation of google drive.

@eratostennis
Copy link

@LalithVipulananthan

In this pull request I moved ml models to another storage.
I don't think the same problem will occur.

If it's good for you, please close this issue.

@yukke42 yukke42 closed this as completed Jun 10, 2022
@mitsudome-r mitsudome-r transferred this issue from autowarefoundation/autoware_core_universe_prototype Jun 26, 2022
@xmfcx xmfcx added type:bug Software flaws or errors. and removed Type: bug labels Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. priority:high High urgency and importance. type:bug Software flaws or errors.
Projects
None yet
Development

No branches or pull requests

4 participants