Skip to content

Models for clean --scratches (models-1)

Choose a tag to compare

@aidansiegel aidansiegel released this 09 Nov 00:41
· 64 commits to main since this release
b638785

Model files that openfilmkit clean --scratches downloads on first use and checks against these SHA-256 values. Both run in OpenCV (cv2.dnn).

File Size SHA-256 From
scratch_detection_512_fp16.onnx 75 MB dcf7d8e2ba56ac154a36d8848dd629aa51e06e4da3fd281dced9752e710b9006 Microsoft, Bringing Old Photos Back to Life: the official scratch-detection checkpoint (global_checkpoints.zip, checkpoints/detection/FT_Epoch_latest.pt), exported to ONNX for one 512 px tile with float16 weights
migan_generator_512.onnx 28 MB e91485026851c1d5029d95ce3dcb4774df3d93f0b79e10fe3d15b879176d129e Picsart AI Research, MI-GAN: the generator taken unchanged out of the authors' migan_pipeline_v2.onnx (Hugging Face), fixed at 512 x 512

Both are MIT-licensed by their authors; the license texts are attached (scratch_detection_LICENSE, migan_LICENSE).

tools/build_models.py in the repository rebuilds both files from the authors' originals, byte for byte.