trouble reading remora models
Dear,
I'm trying to run megalodon but I'm stuck when remora models need to be read.
my cmd line is:
megalodon --overwrite
--outputs basecalls mappings mod_mappings per_read_mods mods
--guppy-config dna_r9.4.1_450bps_hac.cfg
--guppy-server-path $guppy_path/guppy_basecall_server
--remora-modified-bases dna_r9.4.1_e8 hac 3.5.1 5mc CG 0
--mod-motif m CG 0
--write-mods-text
--reference $ref
--devices all
--processes $NSLOTS $dir/megalodon_CpG/fast5
error returned:
[16:31:35] Running Megalodon version 2.5.0
[16:31:35] Loading guppy basecalling backend
******************** WARNING [16:31:38:MainProcess:MainThread:model_util.py:491]: Remora model for basecall model version (3.5.1) not found. Using default Remora model for dna_r9.4.1_e8_hac. ********************
******************** WARNING: Remora model for basecall model version (3.5.1) not found. Using default Remora model for dna_r9.4.1_e8_hac. ********************
[16:31:38] No pre-trained Remora model found for this configuration dna_r9.4.1_e8_hac_v3.5.1_5mc_CG_v0.pt at /shared/clssoft/apps/x86_64/megalodon/2.5.0/lib/python3.8/site-packages/remora/trained_models.
Attempting to download dna_r9.4.1_e8_hac_v3.5.1_5mc_CG_v0.pt
[16:31:38] No pre-trained Remora model found for this configuration dna_r9.4.1_e8_hac_v3.5.1_5mc_CG_v0.pt at /shared/clssoft/apps/x86_64/megalodon/2.5.0/lib/python3.8/site-packages/remora/trained_models.
Attempting to download dna_r9.4.1_e8_hac_v3.5.1_5mc_CG_v0.pt
[16:31:40] Model dna_r9.4.1_e8_hac_v3.5.1_5mc_CG_v0.pt downloaded to /shared/clssoft/apps/x86_64/megalodon/2.5.0/lib/python3.8/site-packages/remora/trained_models/dna_r9.4.1_e8_hac_v3.5.1_5mc_CG_v0.pt
[16:31:40] Model dna_r9.4.1_e8_hac_v3.5.1_5mc_CG_v0.pt downloaded to /shared/clssoft/apps/x86_64/megalodon/2.5.0/lib/python3.8/site-packages/remora/trained_models/dna_r9.4.1_e8_hac_v3.5.1_5mc_CG_v0.pt
terminate called after throwing an instance of 'c10::Error'
what(): isTuple() INTERNAL ASSERT FAILED at "/pytorch/aten/src/ATen/core/ivalue_inl.h":931, please report a bug to PyTorch. Expected Tuple but got String
Exception raised from toTuple at /pytorch/aten/src/ATen/core/ivalue_inl.h:931 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x42 (0x7fcb09d598b2 in /shared/clssoft/apps/x86_64/megalodon/2.5.0/lib/python3.8/site-packages/torch/lib/libc10.so)
frame #1:
Abort (core dumped)