zhengchong commited on
Commit
19a1fa7
1 Parent(s): 21c6c10

chore: Update segformer_ckpt in app.py to use mattmdjaga/segformer_b2_clothes

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +5 -6
app.py CHANGED
@@ -125,7 +125,7 @@ pipeline = CatVTONPipeline(
125
  mask_processor = VaeImageProcessor(vae_scale_factor=8, do_normalize=False, do_binarize=True, do_convert_grayscale=True)
126
  automasker = AutoMaskerSeg(
127
  densepose_ckpt=os.path.join(repo_path, "DensePose"),
128
- segformer_ckpt="/home/chongzheng_p23/data/Projects/CatVTON-main/Models/segformer_b3_clothes",
129
  device='cuda',
130
  )
131
 
 
125
  mask_processor = VaeImageProcessor(vae_scale_factor=8, do_normalize=False, do_binarize=True, do_convert_grayscale=True)
126
  automasker = AutoMaskerSeg(
127
  densepose_ckpt=os.path.join(repo_path, "DensePose"),
128
+ segformer_ckpt="mattmdjaga/segformer_b2_clothes",
129
  device='cuda',
130
  )
131
 
requirements.txt CHANGED
@@ -1,7 +1,5 @@
1
  accelerate==0.31.0
2
  diffusers==0.29.2
3
- gradio==4.39.0
4
- spaces==0.29.2
5
  huggingface_hub==0.23.4
6
  matplotlib==3.9.1
7
  numpy==1.26.4
@@ -11,10 +9,11 @@ PyYAML==6.0.1
11
  scipy==1.13.1
12
  setuptools==51.0.0
13
  scikit-image==0.24.0
14
- torch==2.0.1
15
- torchvision==0.15.2
16
  tqdm==4.66.4
17
  transformers==4.27.3
 
 
18
  git+https://github.com/facebookresearch/detectron2.git
19
- git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose
20
- Ninja==1.11.1
 
1
  accelerate==0.31.0
2
  diffusers==0.29.2
 
 
3
  huggingface_hub==0.23.4
4
  matplotlib==3.9.1
5
  numpy==1.26.4
 
9
  scipy==1.13.1
10
  setuptools==51.0.0
11
  scikit-image==0.24.0
12
+ torch==2.1.2
13
+ torchvision==0.16.2
14
  tqdm==4.66.4
15
  transformers==4.27.3
16
+ xformers==0.0.23.post1
17
+ Ninja==1.11.1.1
18
  git+https://github.com/facebookresearch/detectron2.git
19
+ git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose