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

AttributeError: module 'climatestateclassifier.config' has no attribute 'normalization' #2

Open
hopesala opened this issue Aug 30, 2024 · 0 comments

Comments

@hopesala
Copy link

running command : climatestateclassifier-1.0.0\climatestateclassifier-1.0.0>climclass-train --load-from-file demo/demo_train.txt

got bellow errors, how to solve it , thank you very much~

I am trying to add a line in 'demo/demo_train.txt' file --normalization std, but find no use with the same error
I am also try to change command to 'climclass-train --load-from-file demo/demo_train.txt --normalization std', also no use

AttributeError: Caught AttributeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "D:\anaconda3\envs\tf_env\lib\site-packages\torch\utils\data_utils\worker.py", line 309, in _worker_loop
data = fetcher.fetch(index) # type: ignore[possibly-undefined]
File "D:\anaconda3\envs\tf_env\lib\site-packages\torch\utils\data_utils\fetch.py", line 52, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\anaconda3\envs\tf_env\lib\site-packages\torch\utils\data_utils\fetch.py", line 52, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\anaconda3\envs\tf_env\lib\site-packages\climatestateclassifier\utils\netcdfloader.py", line 122, in getitem
if cfg.normalization:
AttributeError: module 'climatestateclassifier.config' has no attribute 'normalization'

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