Firstly I thought it might caused by specific cooltools version. Results above are based on cooltools 0.5.4. Then I updated cooltools to newest version (0.6.1), the same error occured with different warnings:
/root/miniconda3/envs/orca_env/lib/python3.9/site-packages/cooltools/lib/numutils.py:1376: RuntimeWarning: invalid value encountered in divide
val_cur = ar_cur / armask_cur
/root/miniconda3/envs/orca_env/lib/python3.9/site-packages/cooltools/lib/numutils.py:1376: RuntimeWarning: invalid value encountered in divide
val_cur = ar_cur / armask_cur
/root/miniconda3/envs/orca_env/lib/python3.9/site-packages/torch/utils/checkpoint.py:429: UserWarning: torch.utils.checkpoint: please pass in use_reentrant=True or use_reentrant=False explicitly. The default value of use_reentrant will be updated to be False in the future. To maintain current behavior, pass use_reentrant=True. It is recommended that you use use_reentrant=False. Refer to docs for more details on the differences between the two variants.
warnings.warn(
/mnt/e/WSL/orca/orca_predict.py:406: RuntimeWarning: Mean of empty slice
np.nanmean(
/mnt/e/WSL/orca/orca_predict.py:405: RuntimeWarning: Mean of empty slice
target_r = np.nanmean(
Then I noticed the error is correlated with model_labels, which seems cannot be set as None?
So I tried to set model_lables = ["test"] and this time it worked.
Anyway, the differences in packages versions still could lead to various problems. So could you please specifiy the package versions in config files?
Hi Dr. Zhou,
Thanks for your efforts on this user-friendly tool.
However, when I tried to run the examples by using python, I met some problems.
I've configured orca environment as instructed, and then tried to do predition:
And then I got a warning and a error:
Firstly I thought it might caused by specific cooltools version. Results above are based on cooltools 0.5.4. Then I updated cooltools to newest version (0.6.1), the same error occured with different warnings:
Then I noticed the error is correlated with model_labels, which seems cannot be set as None? So I tried to set model_lables = ["test"] and this time it worked.
Anyway, the differences in packages versions still could lead to various problems. So could you please specifiy the package versions in config files?
Thank you!