-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Hi authors,
I tried to clone your project in my cluster, with the pre-trained model and tried to run it, however, I am facing the issue of ValueError: Longitude 436.3453766449724 is out of range [-180, 180]
Environment Details:
NAME="Rocky Linux"
VERSION="8.7 (Green Obsidian)"
ID_LIKE="rhel centos fedora"
Details of setup:-
Since the cluster doesn't support the conda environment, I installed all the libraries with their latest version in virtualenv. I am attaching the libraries version file here. requirements.txt
Data Set and pre-trained model details:
Train Dataset
Inference Dataset
Pre-trained Model
I am using these files:- config_new.json and weights_new.pth
Details of execution:-
- After installing and running the pre-trained model, at the histogram plot generation step, it was observed that numpy=1.24 which doesn't support
np.intbut supportnp.int_, given that your repository is built on numpy==1.19.2 and usingnp.intwhich is removed from numpy==1.24, I changed this in code at lines 28,55 in/project/60025/anshita/ClimateNet/climatenet/track_events.pySource: https://stackoverflow.com/a/74946903
After this change, it worked fine. - When I ran the project again, it halt with this error-
ValueError: Longitude 436.3453766449724 is out of range [-180, 180]in this file-/project/60025/anshita/ClimateNet/climatenet/analyze_events.pyat line 192. Also, when I tried to check the values of the latitudes and longitudes, I found that all the values are not within this range.
Here are the values for pos1 and pos2 (highlighted in yellow color and marked as red for perceptible purposes):
In my humble opinion, these values should be scaled by code. Please provide your advice and kind suggestions.
Here the example.py file for your reference example.zip
Please let me know in case you need further details of how I am running your code or any configuration-related details. I will wait and appreciate your attention to this issue.
Appreciate your response at the earliest.
Thank You.
Best regards,
Anshita Saxena
