sangyun884 / HR-VITON

Official PyTorch implementation for the paper High-Resolution Virtual Try-On with Misalignment and Occlusion-Handled Conditions (ECCV 2022).
831 stars 171 forks source link

TypeError: img should be PIL Image. Got <class 'torch.Tensor'> #42

Open hyyuan123 opened 1 year ago

hyyuan123 commented 1 year ago

avg_distance += model.forward(T2(im), T2(output_paired))