You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This model was trained by [LDPolypVideo](https://github.com/dashishi/LDPolypVideo-Benchmark) dataset.
15
15
16
16
We filtered out some low-quality images with blurry, reflective, and ghosting effects, and finally select 55,883 samples including 29,640 polyp frames and 26,243 non-polyp frames.
17
-
## Checkpoint
18
-
You can download the chekpoints of our Polyp_Gen on [HuggingFace](https://huggingface.co/Saint-lsy/Polyp-Gen-sd2-inpainting/tree/main)
19
17
20
-
## Sampling with Specified Mask
18
+
Our dataset can be downloaded at [here](https://mycuhk-my.sharepoint.com/:u:/g/personal/1155225283_link_cuhk_edu_hk/EXcpsGPTYEBAiIuGOqpRTlQBgzc7uYgrkfP1BLo11_t63w?e=hP9W2g).
19
+
20
+
## Training
21
+
The pre-trained model is Stable Diffusion Inpainting-2, availble on [Huggingface](https://huggingface.co/stabilityai/stable-diffusion-2-inpainting)
22
+
23
+
You can train your own model using the script:
24
+
```bash
25
+
bash scripts/train.sh
21
26
```
27
+
## Sampling
28
+
29
+
### Checkpoint
30
+
You can download the chekpoints of our Polyp_Gen from [here](https://huggingface.co/Saint-lsy/Polyp-Gen-sd2-inpainting/tree/main).
31
+
### Sampling with Specified Mask
32
+
```bash
22
33
python sample_one_image.py
23
34
```
35
+
### Sampling with Mask Proposer
36
+
The weight of pretrained DINOv2 can be found [here](https://github.com/salihmarangoz/dinov2).
24
37
25
-
## Sampling with Mask Proposer
26
38
The first step is building database and Global Retrieval.
0 commit comments