[arXiv] |
[Project Page] |
|---|
· Oct/2025: 📢📢📢 Training Code Released!
· Jul/2025: 🎉🎉🎉 Our Work has been accepted by MICCAI 2025!
· Apr/2025: 🔥🔥🔥 SurgSora Gradio is online!
pip install -r requirements.txt
Install SAM2 follow this:
git clone https://github.com/facebookresearch/sam2.git && cd sam2
pip install -e .
stage 1
bash train_stage1.sh
stage 2
bash train_stage2.sh
-
Download the pretrained checkpoint of DAV2 from huggingface to
./mdoels/dav2. -
Download the pretrained checkpoint of CMP from here from huggingface to
./mdoels/cmp.
The final structure of checkpoints should be:
./models/
|-- DAV2
|-- CMP
|-- controlnet
| |-- config.json
| `-- diffusion_pytorch_model.safetensors
|-- stable-video-diffusion-img2vid-xt-1-1
| |-- ...
| `-- model_index.json
python gradio_demo_run.py

