diff --git a/applications/tools/swinir_denoising.py b/applications/tools/swinir_denoising.py index de2f886c4..82a4c9b33 100644 --- a/applications/tools/swinir_denoising.py +++ b/applications/tools/swinir_denoising.py @@ -16,10 +16,11 @@ import sys import argparse +sys.path.insert(0, os.getcwd()) + import paddle from ppgan.apps import SwinIRPredictor -sys.path.insert(0, os.getcwd()) if __name__ == "__main__": parser = argparse.ArgumentParser()