Skip to content

Commit

Permalink
fix: build dictionary with ints instead of tensors
Browse files Browse the repository at this point in the history
Former-commit-id: abbbeb13b852457450df03d926cd4689cbc464f6
  • Loading branch information
Javi Ribera committed Dec 17, 2018
1 parent 7536897 commit b7152bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object-locator/locate.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@

# Save a new line in the CSV corresonding to the resuls of this img
res_dict = dictionaries[0]
res_dict['count'] = est_count
res_dict['count'] = est_count_int
res_dict['locations'] = str(centroids_wrt_orig.tolist())
for key, val in res_dict.copy().items():
if 'height' in key or 'width' in key:
Expand Down

0 comments on commit b7152bc

Please sign in to comment.