jiyuuchc / lacss

A deep learning model for single cell segmentation from microsopy images.
https://jiyuuchc.github.io/lacss/
MIT License
27 stars 4 forks source link

train_with_point_label.ipynb error #7

Closed ajiwatson closed 9 months ago

ajiwatson commented 9 months ago

When running the Setting Up the Environment section in train_with_point_label.ipynb, I get an error regarding this line of code: from lacss.deploy import load_from_pretrained

I tried from lacss.utils import load_from_pretrained after looking through the code for load_from_pretrained and this seems to solve the issue.

jiyuuchc commented 9 months ago

Thanks for reporting the bug! Will patch.

Ji


From: drarcher @.***> Sent: Monday, December 4, 2023 12:04 PM To: jiyuuchc/lacss Cc: Subscribed Subject: [jiyuuchc/lacss] train_with_point_label.ipynb error (Issue #7)

Attention: This is an external email. Use caution responding, opening attachments or clicking on links.

When running the Setting Up the Environment section in train_with_point_label.ipynb, I get an error regarding this line of code: from lacss.deploy import load_from_pretrained

I tried from lacss.utils import load_from_pretrained after looking through the code for load_from_pretrained and this seems to solve the issue.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/jiyuuchc/lacss/issues/7__;!!Cn_UX_p3!kHeMItgtqpnMH55Y4DBpxyLsUGnU95u8IS9MvdgjaSHoqNnqCAMGRbLyN7CA7UWWH-M9pEU5atKqnCeEsFBtqA$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAKRPNVM7MGIBKZLUALYME3YHX7BJAVCNFSM6AAAAABAGJ6GSCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDIMZSGUZDONA__;!!Cn_UX_p3!kHeMItgtqpnMH55Y4DBpxyLsUGnU95u8IS9MvdgjaSHoqNnqCAMGRbLyN7CA7UWWH-M9pEU5atKqnCc--cBMrQ$. You are receiving this because you are subscribed to this thread.Message ID: @.***>

jiyuuchc commented 9 months ago

Fixed with commit b27da0.