Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
mccaly
/
test
like
0
Running
App
Files
Files
Community
985cc7f
test
/
FoodSeg103
/
tests
/
test_model.py
mccaly
Upload 2805 files
985cc7f
about 1 year ago
raw
Copy download link
history
blame
No virus
142 Bytes
import
torch
pthfile =
r'/SEG/mmsegmentation/pretrained_model/recipe1MP_R50.pth'
net=torch.load(pthfile)
for
k
in
net.keys():
print
(k)