Add post_process_depth_estimation for GLPN (#34413)

* add depth postprocessing for GLPN

* remove previous temp fix for glpn tests

* Style changes for GLPN's `post_process_depth_estimation`

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* additional style fix

---------

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
This commit is contained in:
Alexandros Benetatos
2024-10-28 20:44:20 +02:00
committed by GitHub
parent 6cc4a67b3d
commit a769ed45e1
3 changed files with 59 additions and 19 deletions

View File

@@ -157,14 +157,6 @@ class GLPNModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
self.model_tester = GLPNModelTester(self)
self.config_tester = GLPNConfigTester(self, config_class=GLPNConfig)
@unittest.skip(reason="Failing after #32550")
def test_pipeline_depth_estimation(self):
pass
@unittest.skip(reason="Failing after #32550")
def test_pipeline_depth_estimation_fp16(self):
pass
def test_config(self):
self.config_tester.run_common_tests()