refiners/tests/foundationals/segment_anything
Benjamin Trom ea44262a39 unnest Residual subchain by modifying its forward
And replaced the remaining Sum-Identity layers by Residual.

The tolerance used to compare SAM's ViT models has been tweaked: for
some reasons there is a small difference (in float32) in the neck layer
(first conv2D)

Co-authored-by: Cédric Deltheil <cedric@deltheil.me>
2023-10-19 10:34:51 +02:00
..
test_sam_ref add Segment Anything (SAM) to foundational models 2023-09-21 11:44:30 +02:00
test_sam.py unnest Residual subchain by modifying its forward 2023-10-19 10:34:51 +02:00
utils.py add Segment Anything (SAM) to foundational models 2023-09-21 11:44:30 +02:00