Commit ·
673064b
1
Parent(s): 26c80cc
fix: Update attention checkpoint path in app.py for CatVTON pipeline
Browse files- Changed the attention checkpoint path from the previous repository to the MaskFree version for improved model performance.
- Updated the attention checkpoint version to a more general reference, enhancing compatibility with future updates.
150 unmodified lines151152153154155156157158150 unmodified linesrepo_path_mf = snapshot_download(repo_id=catvton_mf_repo)pipeline_p2p = CatVTONPix2PixPipeline(base_ckpt=args.p2p_base_model_path,attn_ckpt=repo_path,attn_ckpt_version="mix-48k-1024",weight_dtype=init_weight_dtype(args.mixed_precision),use_tf32=args.allow_tf32,device='cuda'150 unmodified lines151152153154155156157158150 unmodified linesrepo_path_mf = snapshot_download(repo_id=catvton_mf_repo)pipeline_p2p = CatVTONPix2PixPipeline(base_ckpt=args.p2p_base_model_path,attn_ckpt=repo_path_mf,attn_ckpt_version="mix",weight_dtype=init_weight_dtype(args.mixed_precision),use_tf32=args.allow_tf32,device='cuda'
app.py+2-2