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

"Error Encountered While Running data_analysis.py Script: Missing Attribute in AutoBotDataset" #44

Open
jayahn77777 opened this issue Dec 18, 2024 · 0 comments

Comments

@jayahn77777
Copy link

Thanks to your help, I was able to successfully run the training and evaluation processes. However, when I ran the python data_analysis.py script, I encountered the following error:

(unitraj) D:\Coding\Python\nuScenes\unitraj\UniTraj\unitraj>python data_analysis.py
C:\Users\xxxx.conda\envs\unitraj\lib\site-packages\hydra_internal\defaults_list.py:251: UserWarning: In 'config': Defaults list is missing _self_. See https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/default_composition_order for more information
warnings.warn(msg, UserWarning)
Loading training data...
Warning: cache path ./cache\nuscenes\data_samples already exists, skip
Loaded 61 samples from data_samples/nuscenes
Data loaded
Error executing job with overrides: []
Traceback (most recent call last):
File "D:\Coding\Python\nuScenes\unitraj\UniTraj\unitraj\data_analysis.py", line 22, in data_analysis
train_batch_size = max(cfg.method['train_batch_size'] // len(cfg.devices) // train_set.data_chunk_size, 1)
AttributeError: 'AutoBotDataset' object has no attribute 'data_chunk_size'

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

I’d like to understand what I might have missed. Is there a manual or documentation I can refer to for running python data_analysis.py properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant