Skip to content

Commit

Permalink
Removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vbhavank committed Apr 23, 2020
1 parent c7ffbc8 commit f189e49
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ def compute_descriptor_async(self, data_set, descriptor_elem_factory=
self.data_elements[d.uuid()] = d
self.descr_elements[d.uuid()] = descriptor_elem_factory \
.new_descriptor(self.name, d.uuid())
#self.uuid4proc.append(d.uuid())
def check_get_uuid(descriptor_elem):
if overwrite or not descriptor_elem.has_vector():
self.uuid4proc.append(descriptor_elem.uuid())
Expand Down Expand Up @@ -333,7 +332,6 @@ def check_get_uuid(descriptor_elem):
for (d, uuids) in data_loader:
if self.use_gpu:
d = d.cuda()
# Test for speed Variable and no_grad
pytorch_f = self.model(Variable(d)).squeeze()
if len(pytorch_f.shape) < 2:
pytorch_f = pytorch_f.unsqueeze(0)
Expand Down

0 comments on commit f189e49

Please sign in to comment.