-
Notifications
You must be signed in to change notification settings - Fork 35
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
Cannot find model weight #20
Comments
Yes, the weights directory contain the pre-trained model weights. The problem is that github LFS only works for about the first week of every month due to bots downloading the repo and exhausting the limited free LFS capacity. The issue you referenced is actually a separate problem though - what you want to look at is #14, in which I provide direct download links to the weight zip files. Once you download the weight zip files for the models you want, just unzip them in the Weights directory and everything should work as expected. |
It's been on my todo list for awhile to stop using LFS, so I went ahead and updated the repository to host the zip files directly. You should now be able to clone it and run the example without worrying about downloading the weights separately. Let me know if you run into any issues after re-cloning the repo. |
Ok. The test case with numpy example work perfectly. Thanks for that. I notice also that
Here is the error log.
Have you run into this type of error before? I see that in the paper, acolite was part of the atmospheric pre-processor tool used. Thanks very much for your time. |
I've only tested with L2W, which it does work for. L2W files have the following variables (e.g. for OLI):
Can you tell me what the netCDF variables look like?
|
I changed it to the L2W file, and same error: With
|
It doesn't look like you have acolite set to output Rrs - the file only contains the rho* bands. When processing with acolite, you'll have to make sure you use the configuration parameter 'l2w_parameters=Rrs_*' in order to have acolite include Rrs in the output file. From your nefCDF attributes, it looks like you're currently using |
Ok. Make sense now. I will rerun the pre-processing and see what happen. I will keep you in touch. Thanks. |
Hi @BrandonSmithJ , Thanks for the package. I was trying some of the examples here to see if it fit my use case. I notice that the program fails to run despite having successfully cloned your repo. My assumption is that the files in the Weights folder contains the model's pre-trained weights. Am I right?
I got this example when trying the random numpy example.
and a snippet of the error:
I see that other issue like #19 already posed some similar issue. Can you help solve this issue.
Thanks
The text was updated successfully, but these errors were encountered: