godx7 commited on
Commit
c80d924
·
verified ·
1 Parent(s): 4993371

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md CHANGED
@@ -1,5 +1,14 @@
1
  Model and weights of paper [DeH4R: A Decoupled and Hybrid Method for Road Network Graph Extraction](https://arxiv.org/abs/2508.13669).
2
 
 
 
 
 
 
 
 
 
 
3
  ---
4
  license: mit
5
  ---
 
1
  Model and weights of paper [DeH4R: A Decoupled and Hybrid Method for Road Network Graph Extraction](https://arxiv.org/abs/2508.13669).
2
 
3
+ The pth file contains model architecture and weights, so you should change the way of initializing model like
4
+
5
+ ```python
6
+ # model = R2RC(config) do not need this
7
+ model = torch.load('xxx.pth')
8
+ model.to(device)
9
+ model.eval()
10
+ ```
11
+
12
  ---
13
  license: mit
14
  ---