Views
No views yet
pip3 install git+https://github.com/msu-video-group/srflawscry1from pathlib import Path
2
3from srflawscry import WASD
4
5model = WASD.from_pretrained("egorchistov/sr-artifact-detection-wasd").eval()
6model.run(
7 image_path=Path("result.png"),
8 source_path=Path("source.png"),
9 output_path=Path("artifact_mask.png"),
10)