Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read model from assets #366

Closed
GeghamHayrapetian opened this issue Aug 21, 2020 · 1 comment
Closed

Read model from assets #366

GeghamHayrapetian opened this issue Aug 21, 2020 · 1 comment

Comments

@GeghamHayrapetian
Copy link

GeghamHayrapetian commented Aug 21, 2020

How can I use model from assets folder im my script.py?
now i use this
fcn=models.segmentation.fcn_resnet101(pretrained = True).eval()
but i dont want to use internet.
I downoloaded model.
how can i use downoloaded model?
My file is resnet101-5d3b4d8f.pth

@mhsmith
Copy link
Member

mhsmith commented Aug 21, 2020

The easiest way to include data files is to put them in your Python source folder: see #144.

@mhsmith mhsmith closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants