removed comments

This commit is contained in:
Vighnesh Birodkar
2014-06-19 02:50:24 +05:30
parent 18a6535089
commit bf89726c49
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -40,7 +40,6 @@ def threshold_cut(label, rag, thresh):
out = np.copy(label)
for i, nodes in enumerate(comps):
for node in nodes:
for l in rag.node[node]['labels']:
out[label == l] = i
-1
View File
@@ -32,7 +32,6 @@ class RAG(nx.Graph):
if not self.has_edge(i, j):
raise ValueError('Cant merge non adjacent nodes')
# print "before ",self.order()
for x in self.neighbors(i):
if x == j:
continue