Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
aboulch committed Dec 17, 2018
1 parent 2100bb2 commit b6396cb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@
if scale_number == 1:
Ks=np.array([K], dtype=np.int)
import models.model_1s as model_1s
model = model_1s.load_model("/media/data/research/normals_HoughCNN/model_1s_boulch_SGP2016/model.pth")
mean = np.load("/media/data/research/normals_HoughCNN/model_1s_boulch_SGP2016/mean.npz")["arr_0"]
model = model_1s.load_model("path_to_model_1s/model.pth")
mean = np.load("path_to_model_1s/mean.npz")["arr_0"]
elif scale_number == 3:
Ks=np.array([K,K/2,K*2], dtype=np.int)
import models.model_3s as model_3s
model = model_3s.load_model("/media/data/research/normals_HoughCNN/model_3s_boulch_SGP2016/model.pth")
mean = np.load("/media/data/research/normals_HoughCNN/model_3s_boulch_SGP2016/mean.npz")["arr_0"]
model = model_3s.load_model("path_to_model_3s/model.pth")
mean = np.load("path_to_model_1s/mean.npz")["arr_0"]
elif scale_number == 5:
Ks=np.array([K,K/4,K/2,K*2,K*4], dtype=np.int)
import models.model_5s as model_5s
model = model_5s.load_model("/media/data/research/normals_HoughCNN/model_5s_boulch_SGP2016/model.pth")
mean = np.load("/media/data/research/normals_HoughCNN/model_5s_boulch_SGP2016/mean.npz")["arr_0"]
model = model_5s.load_model("path_to_model_5s/model.pth")
mean = np.load("path_to_model_5s/mean.npz")["arr_0"]

# set the neighborhood size
estimator.set_Ks(Ks)
Expand Down

0 comments on commit b6396cb

Please sign in to comment.