Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
7a27ad85
Commit
7a27ad85
authored
May 18, 2022
by
Mark Daoust
Browse files
Remove extra 'track.replace's
parent
cb980b47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
official/projects/cots_detector/crown_of_thorns_starfish_detection_pipeline.ipynb
...etector/crown_of_thorns_starfish_detection_pipeline.ipynb
+0
-5
No files found.
official/projects/cots_detector/crown_of_thorns_starfish_detection_pipeline.ipynb
View file @
7a27ad85
...
...
@@ -1042,11 +1042,6 @@
" detections = [track.det for track in self.tracks]\n",
" detections = propagate_detections(detections, self.prev_image, image, self.of_params)\n",
"\n",
" updated_tracks = []\n",
" for det,track in zip(updated_detections, self.tracks):\n",
" track = track.replace(det=det)\n",
" updated_tracks.append(track.replace(det=det))\n",
"\n",
" return [track.replace(det=det) \n",
" for track, det in zip(self.tracks, detections)]\n"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment