manisa / ClassifyTE

MIT License
12 stars 2 forks source link

Error in running the demo command #3

Closed Scy-bio closed 1 year ago

Scy-bio commented 1 year ago

Hi, @manisa Thanks for developing such a great tool. When I unzip the ClassifyTE_Models.zip, which was downloaded from the link. I got this:

Archive: ClassifyTE_Models.zip inflating: ClassifyTE_combined.pkl bad CRC 64829b60 (should be 527b66f9) inflating: ClassifyTE_pgsb.pkl bad CRC 7bfbb554 (should be 69c8cb7c) inflating: ClassifyTE_repbase.pkl bad CRC 1e0d3b81 (should be f0b46aea)

Is this wrong?

And when I run the demo command: python evaluate.py -f demo_features.csv -n node.txt -d demo_features -m ClassifyTE_combined.pkl -a lcpnb

I get the following errors:

Traceback (most recent call last): File "evaluate.py", line 121, in hier_label = main(h, data, options.algorithm, options.modelname) File "evaluate.py", line 71, in main parent_classifiers = pickle.load(fb) _pickle.UnpicklingError: invalid load key, '\xf8'.

Hope for your help. Thank you!

manisa commented 1 year ago

Hello,

It looks like an error with either a zip file downloading (network) error or an unzipping error, because of which the data is corrupted. Could you try unzipping using the terminal? I downloaded the files from the link and unzipped the files through the terminal (command: unzip ClassifyTE_Models.zip )

On Sat, Nov 5, 2022 at 12:26 PM Scy-bio @.***> wrote:

Hi, @manisa https://github.com/manisa Thanks for developing such a great tool. When I unzip the ClassifyTE_Models.zip, which was downloaded from the link https://drive.google.com/file/d/1CuDciG0Ru5zRBhffjQmgJdqSMQB89mfh/view?usp=sharing. I got this:

Archive: ClassifyTE_Models.zip inflating: ClassifyTE_combined.pkl bad CRC 64829b60 (should be 527b66f9) inflating: ClassifyTE_pgsb.pkl bad CRC 7bfbb554 (should be 69c8cb7c) inflating: ClassifyTE_repbase.pkl bad CRC 1e0d3b81 (should be f0b46aea)

Is this wrong?

And when I run the demo command: python evaluate.py -f demo_features.csv -n node.txt -d demo_features -m ClassifyTE_combined.pkl -a lcpnb

I get the following errors:

Traceback (most recent call last): File "evaluate.py", line 121, in hier_label = main(h, data, options.algorithm, options.modelname) File "evaluate.py", line 71, in main parent_classifiers = pickle.load(fb) _pickle.UnpicklingError: invalid load key, '\xf8'.

Hope for your help. Thank you!

— Reply to this email directly, view it on GitHub https://github.com/manisa/ClassifyTE/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAQQGDZAB7D3G334ERFS7TWG2KFZANCNFSM6AAAAAARYAPJZ4 . You are receiving this because you were mentioned.Message ID: @.***>

-- https://about.me/manishapanta?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb Manisha Panta about.me/manishapanta https://about.me/manishapanta?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb

Scy-bio commented 1 year ago

Thank you for your prompt response. It seems the unzip command is errored in our server. I unzipped the files on my computer and uploaded them to our server. The run of the demo command is fine.