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 [dPL_SMAP_soilm_train.py] #11

Open
LeeJaehyeong0 opened this issue Mar 8, 2023 · 0 comments
Open

Error [dPL_SMAP_soilm_train.py] #11

LeeJaehyeong0 opened this issue Mar 8, 2023 · 0 comments

Comments

@LeeJaehyeong0
Copy link

I'm trying to use 'dPL_SMAP_soilm_train.py' in hydroDL.
When I run that code,
it showed me:

TypeError Traceback (most recent call last)

TypeError: 'NoneType' object is not subscriptable

So, I ran the code line to line, and the error occurred on this line.

test.testModel(forecastModel, (forcing2, obs_pre), const2,
                filePathLst ['/home/wogud647/data/ML/surrogate_model/outDA_'+subsetLst[0]+'_tr'+str(trainYear)+'_'+str(hsLst[0])+'_target_woGF_NComms'], batchSize=10)

How can I solve this error?

Thank you

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