InstanceDiffusion
[CVPR 2024] Code release for "InstanceDiffusion: Instance-level Control for Image Generation"
파일 탐색기
최종 버전 다운로드 (.zip)- test_box.yaml
- test_mask.yaml
- test_point.yaml
- test_scribble.yaml
- test_sd15.yaml
- train_sd15.yaml
- __init__.py
- base_dataset.py
- decode_item.py
- jsondataset.py
- utils.py
- jsons2txt.py
- README.md
- run_submitit_generate_jsons.sh
- run_with_submitit_generate_caption.py
- sample_train_data.json
- submitit_automatic_label_ram_save_json.py
- demo_cat_dog_robin.json
- demo_corgi_kitchen.json
- demo_eagle_left.json
- demo_eagle_right.json
- demo_iterative_r1.json
- demo_iterative_r2.json
- demo_iterative_r3.json
- demo_iterative_r4.json
- demo_iterative_r5.json
- demo_palm_point.json
- demo_rose_garden_painting.json
- demo_teddy_bear_castle.json
- InstDiff-gif.gif
- InstDiff-points.png
- results.png
- teaser.jpg
- eval_attribute_binding.py
- eval_pim.py
- __init__.py
- text_grounding_tokinzer_input.py
- __init__.py
- base.py
- imagenet.py
- imagenet_clsidx_to_label.txt
- imagenet_train_hr_indices.p
- imagenet_val_hr_indices.p
- index_synset.yaml
- lsun.py
- __init__.py
- classifier.py
- ddim.py
- ddpm.py
- ldm.py
- plms.py
- plms_instance.py
- autoencoder.py
- __init__.py
- convnext.py
- model.py
- openaimodel.py
- resnet.py
- text_grounding_net.py
- util.py
- __init__.py
- distributions.py
- __init__.py
- modules.py
- modules_backup.py
- __init__.py
- bsrgan.py
- bsrgan_light.py
- utils_image.py
- __init__.py
- contperceptual.py
- vqperceptual.py
- attention.py
- ema.py
- x_transformer.py
- lr_scheduler.py
- util.py
- SD_v1_5_input_conv_weight_bias.pth
- checkpoint.py
- dataloader.py
- dist.py
- input.py
- misc.py
- model.py
- optimizer.py
- scheduler.py
- .gitignore
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- eval_local.py
- inference.py
- LICENSE
- main_submitit.py
- README.md
- requirements.txt
- run_with_submitit.py
- trainer.py
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/frank-xwang/InstanceDiffusion
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd InstanceDiffusion
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Python 3 pip 명령어를 쓰려면 Python이 필요합니다.
pip install ultralytics
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Python
쉬움사전 준비물
pip install -r requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
cd diffusers & pip install -e .
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
pip install ultralytics
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
