Skip to content

Commit

Permalink
uncommenting lines that are actually important ;P
Browse files Browse the repository at this point in the history
  • Loading branch information
faustomilletari committed Jun 13, 2016
1 parent 9b3a020 commit fff97b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VNet.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def train(self):

def test(self):
self.dataManagerTest = DM.DataManager(self.params['ModelParams']['dirTest'], self.params['ModelParams']['dirResult'], self.params['DataManagerParams'])
#self.dataManagerTest.loadTestData()
self.dataManagerTest.loadTestData()

net = caffe.Net(self.params['ModelParams']['prototxtTest'],
os.path.join(self.params['ModelParams']['dirSnapshots'],"_iter_" + str(self.params['ModelParams']['snapshot']) + ".caffemodel"),
Expand Down Expand Up @@ -194,5 +194,5 @@ def test(self):

results[key] = np.squeeze(labelmap)

#self.dataManagerTest.writeResultsFromNumpyLabel(np.squeeze(labelmap),key)
self.dataManagerTest.writeResultsFromNumpyLabel(np.squeeze(labelmap),key)

0 comments on commit fff97b9

Please sign in to comment.