-
Notifications
You must be signed in to change notification settings - Fork 2
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
Issues arising with Pangolin v4.0.x #31
Comments
Needed to get |
Wow, memory consumption has skyrocketed. I used to be able to run Pangolin on 8 cores via MPI, but now just 2 cores are each consuming over 33% of my RAM (about 32GB total, so 10GB each). |
Rolled pangolin back to version 3.1.20 Updated data files: (pangolin) art@orolo:~/git/duotang/data_needed$ pangolin --update-data
pangolearn updated to 2022-04-22
constellations updated to v0.1.9
pango-designation updated to v1.8 Ran into an error: loading model 05/02/2022, 11:59:07
/home/art/miniconda3/envs/pangolin/lib/python3.8/site-packages/sklearn/base.py:329: UserWarning: Trying to unpickle estimator DecisionTreeClassifier from version 1.0.1 when using version 0.23.1. This might lead to breaking code or invalid results. Use at your own risk.
warnings.warn(
processing block of 752 sequences 05/02/2022, 11:59:09
[Mon May 2 11:59:10 2022]
Error in rule pangolearn:
jobid: 0
output: /tmp/tmpvpuwm01v/lineage_report.pass_qc.csv
RuleException:
AttributeError in line 112 of /home/art/miniconda3/envs/pangolin/lib/python3.8/site-packages/pangolin/scripts/pangolearn.smk:
'DecisionTreeClassifier' object has no attribute 'n_features_'
File "/home/art/miniconda3/envs/pangolin/lib/python3.8/site-packages/pangolin/scripts/pangolearn.smk", line 112, in __rule_pangolearn
File "/home/art/miniconda3/envs/pangolin/lib/python3.8/site-packages/pangolin/pangolearn/pangolearn.py", line 170, in assign_lineage
File "/home/art/miniconda3/envs/pangolin/lib/python3.8/site-packages/sklearn/tree/_classes.py", line 922, in predict_proba
File "/home/art/miniconda3/envs/pangolin/lib/python3.8/site-packages/sklearn/tree/_classes.py", line 395, in _validate_X_predict
File "/home/art/miniconda3/envs/pangolin/lib/python3.8/concurrent/futures/thread.py", line 57, in run
Exiting because a job execution failed. Look above for error message
Exiting because a job execution failed. Look above for error message |
Looks like we have to update sklearn to version 1.0.1 |
This did the trick: (pangolin) art@orolo:~/git/duotang/data_needed$ pip install scikit-learn=="1.0.1" |
RAM consumption is now a known issue: |
--analysis-mode
topangolearn
helps a lotfaToVcf
and ended up having to scrap the entire conda environment and re-install from scratchThe text was updated successfully, but these errors were encountered: