-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Category
- Perception
- Detection
- Tracking
- Prediction
- Classification
- Sensing
Description
When download pickle file and run evaluation, I encountered following error:
/home/autoware/autoware.proj/data/log/result_archive/perception.object_recognition.objects/perception_eval_log/result/20250809_102244/log
[Errno 13] Permission denied: '/home/autoware'
This is caused by following state:
autoware_perception_evaluation/perception_eval/perception_eval/config/_evaluation_config_base.py
Lines 119 to 122 in 26079a7
if not osp.exists(self.log_directory): | |
os.makedirs(self.log_directory) | |
if not osp.exists(self.visualization_directory): | |
os.makedirs(self.visualization_directory) |
I think there are several problems:
- pickle loads calls
__init__
process __init__
use raw path
Expected behavior
I want to load pickle object without error.
Currently I am not sure we can bypass __init__
execution during pickle loading,
- (minimal) Just add try-catch to correspond statement to prevent error→ PR
- quit use raw home path and use expandvar in pathlib
Actual behavior
Screenshots
To Reproduce
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working