-
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
No trained model exist at #19
Comments
Did you place the downloaded weights into that location? For that specific model, you should download the OLI.zip file and extract it into your MDN/Weights directory. This will lead to the file MDN/Weights/OLI/70c22252dff6bc608d1d8e15b1d2d9e62cdaceecf7217f268192964a4c4c1871.zip being created, at which point you can run the MDN program and it will handle the proper extraction and usage of that zip file to find the pretrained model weights. |
Yes, I did. Here's the specific error I obtained. Exception: No trained model exists at: This is the message log in Jupyternotebook. I might be missing something. Could not find config file with the following parameters:
0%| | 0/10 [00:00<?, ?it/s] |
It is likely an issue with Jupyter interaction. You can try just running as a script rather than in a notebook, which should work. If you need to use a notebook, however: I assume in the notebook somewhere, you're calling the If you're not using the |
I noticed that depending on version, the weights may be extracted into a twice-nested hash folder instead of once; e.g. I've now migrated the repository off of using git-lfs, so you should no longer need to download the weights manually. As well, I've corrected the issue with improper zip extraction. If you are still encountering issues, please try cloning the repository again and running your code. |
Hello Brandon, I tried the following.
below is the code i ran !python3 -m MDN --sensor "OLI" /Users/Sri/Downloads/test_MDN_sample_Landsat2.csv Generating estimates for 6 data points ((6, 4)) 0%| | 0/10 [00:00<?, ?it/s] I installed tensorflow, keras, tensorflow_probability, but i still get this error. |
How did you install the libraries? Are you using the versions specified in the repository requirements.txt file? You should set up your virtual environment, and then install the required libraries via |
Thank you. I tried in the way you suggested. But I got the following error. Collecting h5py==3.1.0 (from -r MDN/requirements.txt (line 18)) × pip subprocess to install backend dependencies did not run successfully.
And there is a big list of errors that followed. I was wondering if there is a working environment that you use that can be imported into Anaconda. Also, I am using a Mac with an M1 chip and an Anaconda environment. |
There are a number of potential ways to handle this, but here's the simplest: first create your environment with
Then install h5py in your environment with conda:
Finally use pip to install the remaining libraries:
For any other libraries that fail to install with pip, just install them with conda first (ensuring you install the specific version listed in the requirements.txt file); then re-run the pip install for the requirements.txt file using the Alternatively, just use the environment you were using before, but pip install the specific tensorflow/numpy/tensorflow_probability versions that are specified (though this is more likely to result in a broken environment than what I've suggested above with creating a new, clean one). |
Hello,
I am trying to run MDN. I saw one of the fixed issues and downloaded the weights in the fixed issue thread. However, i ran into this problem. Your help is greatly appreciated. thank you.
Exception: No trained model exists at:
/Users/Sri/MDN/Weights/OLI/70c22252dff6bc608d1d8e15b1d2d9e62cdaceecf7217f268192964a4c4c1871/Round_0
The text was updated successfully, but these errors were encountered: