test_res_models.py 991 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. import paddlers
  15. from rs_models.test_model import TestModel
  16. __all__ = ['TestRCANModel']
  17. class TestResModel(TestModel):
  18. def check_output(self, output, target):
  19. pass
  20. def set_inputs(self):
  21. pass
  22. def set_targets(self):
  23. pass
  24. class TestRCANModel(TestSegModel):
  25. MODEL_CLASS = paddlers.rs_models.res.RCAN
  26. def set_specs(self):
  27. pass