-
Notifications
You must be signed in to change notification settings - Fork 165
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
Running train_nn.py
results in KeyError 'no index found for coordinate level'
#41
Comments
Hi, I just wanted to quickly reply. Unfortunately, I didn't get around to looking at this this week and will be on vacation next week. Hard for me to say what the problem is from afar. I would check the dataset |
Hi Stephan, thanks for your reply. The I can reproduce the error by stepping through the relevant code in a notebook: I get to line 42 in
Here is my config file for the run:
|
Hmm, I think think the issue is that while level is a coordinate it is not actually a dimension of the data variables. |
Thanks! I tried that, but
Anyway, enjoy your vacation, this can certainly wait until after that! |
Does it work to just remove the .sel from all of these? I think in the version of the data I used for the notebooks, I had a level coordinate with one level, then got rid of it for easier use later but without changing the notebooks.
… On 6. Aug 2021, at 22:34, Ciaron Linstead ***@***.***> wrote:
Thanks! I tried that, but level appears in other places: e.g.
File "/p/projects/its/benchmarks_2020/application/WeatherBench/src/score.py", line 22, in load_test_data
ds = ds.sel(level=500 if var == 'z' else 850)
..
.
..
KeyError: 'no index found for coordinate level'
Anyway, enjoy your vacation, this can certainly wait until after that!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#41 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAVIM34A2I3MVWUYKDPQBZTT3RBNXANCNFSM5BIVAYZQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
It seems to have worked, yes. I have a run in progress now. |
I'm trying to follow the instructions to reproduce this run:
python -m src.train_nn -c src/nn_configs/fccnn_3d.yml
with commit 11cfbff (latest as of today) and the current dataset (downloaded today)
After a few seconds though, I get the following exception:
The text was updated successfully, but these errors were encountered: