Skip to content

Tensorfllow: not an sstable (bad magic number) #2

@ShyGuy509

Description

@ShyGuy509

Hi,

Thanks for the program. It looks great, but I'm having trouble running it. I've just cloned it and created the environment, and tried to run it with the following command:

mcdevol.py
-a abundance_unzipped.tsv
-c contigs_unzipped.fa
-o output
--abundformat metabat
-n 12 \

The abundance file is the output of metabat2 jgi_summarize_bam_contig_depths, and the contigs are generated with megahit.

However, after trying with a couple of datasets I'm getting the following error output:

McDevol is running
Traceback (most recent call last):
File "/data/users/danross/McDevol/mcdevol/mcdevol.py", line 178, in
main()
File "/data/users/danross/McDevol/mcdevol/mcdevol.py", line 147, in main
numcontigs, contig_length, contig_names = ps.compute_kmerembeddings(outdir, fasta_file, min_length, logger, n_fragments=nfragments)
File "/data/users/danross/McDevol/mcdevol/dataparsing.py", line 136, in compute_kmerembeddings
kmermodel.load_weights(path_weight)
File "/data/users/danross/miniconda3/envs/mcdevol_env/lib/python3.9/site-packages/keras/utils/traceback_utils.py", line 67, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/data/users/danross/miniconda3/envs/mcdevol_env/lib/python3.9/site-packages/tensorflow/python/training/py_checkpoint_reader.py", line 45, in error_translator
raise errors_impl.OpError(None, None, error_message, errors_impl.UNKNOWN)
tensorflow.python.framework.errors_impl.OpError: not an sstable (bad magic number)

Can you help me figure out what's going on? I'm not familiar enough with tensorflow to understand the error.

Thank you so much.
David

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions