glasgowcompbio / ms2ldaviz

Substructural discovery in untargeted metabolomics data using LDA topic modelling.
http://ms2lda.org
MIT License
11 stars 8 forks source link

Missing classifyre model in the server #183

Open joewandy opened 3 years ago

joewandy commented 3 years ago

Happened to see this in the log ...

-- Logs begin at Mon 2021-10-11 16:55:01 UTC, end at Thu 2021-10-28 10:51:38 UTC. --
Oct 12 22:12:45 naturalproducts pipenv[932347]: [2021-10-12 22:12:44,793: INFO/MainProcess] Task annotation.tasks.predi>Oct 12 22:16:03 naturalproducts pipenv[1720718]: [2021-10-12 22:16:02,832: ERROR/ForkPoolWorker-7] Task annotation.task>Oct 12 22:16:03 naturalproducts pipenv[1720718]: Traceback (most recent call last):
Oct 12 22:16:03 naturalproducts pipenv[1720718]:   File "/home/jw247a/.local/share/virtualenvs/ms2ldaviz-jmzAe-x0/lib/p>Oct 12 22:16:03 naturalproducts pipenv[1720718]:     R = retval = fun(*args, **kwargs)
Oct 12 22:16:03 naturalproducts pipenv[1720718]:   File "/home/jw247a/.local/share/virtualenvs/ms2ldaviz-jmzAe-x0/lib/p>Oct 12 22:16:03 naturalproducts pipenv[1720718]:     return self.run(*args, **kwargs)
Oct 12 22:16:03 naturalproducts pipenv[1720718]:   File "/home/jw247a/ms2ldaviz/ms2ldaviz/annotation/tasks.py", line 48>Oct 12 22:16:03 naturalproducts pipenv[1720718]:     model = load_model('/home/classyfire/model.h5')
Oct 12 22:16:03 naturalproducts pipenv[1720718]:   File "/home/jw247a/.local/share/virtualenvs/ms2ldaviz-jmzAe-x0/lib/p>Oct 12 22:16:03 naturalproducts pipenv[1720718]:     loader_impl.parse_saved_model(filepath)
Oct 12 22:16:03 naturalproducts pipenv[1720718]:   File "/home/jw247a/.local/share/virtualenvs/ms2ldaviz-jmzAe-x0/lib/p>Oct 12 22:16:03 naturalproducts pipenv[1720718]:     raise IOError("SavedModel file does not exist at: %s/{%s|%s}" %
Oct 12 22:16:03 naturalproducts pipenv[1720718]: OSError: SavedModel file does not exist at: /home/classyfire/model.h5/>
justinjjvanderhooft commented 3 years ago

Not sure if that is connected to MotifDB, but weird that it is suddenly missing in action!

joewandy commented 3 years ago

I must have forgotten to copy it during server migration .... Hopefully someone still has the pre-trained model!??!

justinjjvanderhooft commented 3 years ago

Not me, it may still be around on Dropbox, maybe @sdrogers knows?

sdrogers commented 3 years ago

Ermmmmm, @justinjjvanderhooft if you still have the Dropbox folders synced to your laptop could you do a search on the filename (in Joe’s log). If not I can search in the Dropbox we interface (less fun)

justinjjvanderhooft commented 3 years ago

I sent a link in slack to the only folder that is called ClassyFire in Dropbox, but no signs of a model there - lots of notebooks and other stuff though....

sdrogers commented 3 years ago

Bummer. Maybe a notebook has a nice save line and it could be run again. Who did you send the link to?

justinjjvanderhooft commented 3 years ago

You and Joe in Closed Loop Slack