Show HN: Faster R-CNN object detector implemented in PyTorch and TensorFlow 2 Fresh and (I think) clean implementations of Faster R-CNN in PyTorch and TensorFlow 2/Keras. I wanted to learn about object detectors and decided to understand and implement a foundational model in the field, Faster R-CNN (elements of which are still used in modern models to this day), using the paper alone. That proved to be more difficult than expected and I had to relent and take a peak at existing implementations to fill in some important gaps. I've documented my struggles and learnings in the README for others to benefit from. I also wanted to solidify my understanding of TensorFlow/Keras and learn PyTorch, so I made sure to implement the model in both. Faster R-CNN is fairly challenging in that it doesn't quite map to Keras tutorial examples. For example, losses are not computed simply as a function of model output and input but rather, some of the training data is actually computed on-the-fly within the model during training and the losses have to explicitly be constructed as part of the graph. Personally, I found the "official" TensorFlow reference implementation ( https://ift.tt/3s2Oirg... ) to be very difficult to follow and I hope this proves to be useful to learners like myself. https://ift.tt/3G4bbzK January 29, 2022 at 12:19AM
Post Top Ad
Your Ad Spot
Friday, January 28, 2022
Home
Hacker News
Show HN: Faster R-CNN object detector implemented in PyTorch and TensorFlow 2 https://ift.tt/3gnoQYt
Show HN: Faster R-CNN object detector implemented in PyTorch and TensorFlow 2 https://ift.tt/3gnoQYt
Tags
Hacker News#
Share This
About latest news
Hacker News
Labels:
Hacker News
Subscribe to:
Post Comments (Atom)
Post Top Ad
Author Details
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat.
Post Top Ad
No comments:
Post a Comment