fpaissan commited on
Commit
de9c013
·
verified ·
1 Parent(s): fe1a77b

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -0
README.md CHANGED
@@ -1,3 +1,27 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+
5
+ ```[python]
6
+ from huggingface_hub import hf_hub_download
7
+ from micromind.networks import PhiNet
8
+
9
+ REPO_ID = "fpaissan/phinet_odl"
10
+ FILENAME = "phinet-odl.pth.tar"
11
+
12
+ path_state_dict = hf_hub_download(repo_id=REPO_ID, filename=FILENAME)
13
+
14
+ model = PhiNet(
15
+ (3, 128, 128),
16
+ alpha=1.1,
17
+ beta=0.75,
18
+ t_zero=5,
19
+ num_layers=8,
20
+ h_swish=False,
21
+ squeeze_excite=True,
22
+ include_top=True,
23
+ num_classes=1000,
24
+ divisor=8,
25
+ compatibility=False
26
+ )
27
+ ```