The application relates to a model training method and device, an artifact
elimination method and device, a medium and a product. The method comprises the following steps: acquiring training sample data, wherein the training sample data comprises a first sample artifact image and a corresponding artifact-free
label image; performing down-sampling on the first sample artifact image to obtain a second sample artifact image, and obtaining a first artifact capture
image based on the second sample artifact image and an initial artifact
elimination network; the initial artifact
elimination network is a two-stage multi-scale artifact elimination network; superimposing the first artifact capture image on the first sample artifact image to obtain a first artifact
ablation image corresponding to the first sample artifact image; determining a
loss function based on the first artifact
ablation image corresponding to the first sample artifact image and the artifact-free
label image, and iteratively training the initial artifact elimination network based on the
loss function to obtain a target artifact elimination model. The target artifact elimination model can improve the elimination effect of ring-shaped artifacts in a reconstructed image.