Skip to content

Commit

Permalink
Merge pull request #1 from ashawkey/main
Browse files Browse the repository at this point in the history
fix installing imagedream as a python package
  • Loading branch information
raptor-wang authored Dec 20, 2023
2 parents 99dec08 + dcb0c73 commit 13e0556
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions extern/ImageDream/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Setup environment as in [Stable-Diffusion](https://github.com/Stability-AI/stabl
pip install -r requirements.txt
```

To use ImageDream as a python module, you can install it by `pip install -e .` or:
```bash
pip install git+https://github.com/bytedance/ImageDream/#subdirectory=extern/ImageDream
```

## Image-to-Multi-View
Clone the modelcard on the [Huggingface ImageDream Model Page](https://huggingface.co/Peng-Wang/ImageDream/) under ```./release_models/```

Expand Down
Binary file removed extern/ImageDream/astronaut_local_dream.png
Binary file not shown.
8 changes: 4 additions & 4 deletions extern/ImageDream/imagedream/model_zoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

PRETRAINED_MODELS = {
"sd-v2.1-base-4view-ipmv": {
"config": "sd-v2-base-ipmv.yaml",
"repo_id": "ImageDream/ImageDream",
"config": "sd_v2_base_ipmv.yaml",
"repo_id": "Peng-Wang/ImageDream",
"filename": "sd-v2.1-base-4view-ipmv.pt",
},
"sd-v2.1-base-4view-ipmv-local": {
"config": "sd-v2-base-ipmv-local.yaml",
"repo_id": "ImageDream/ImageDream",
"config": "sd_v2_base_ipmv_local.yaml",
"repo_id": "Peng-Wang/ImageDream",
"filename": "sd-v2.1-base-4view-ipmv-local.pt",
},
}
Expand Down
1 change: 0 additions & 1 deletion extern/ImageDream/release_models

This file was deleted.

0 comments on commit 13e0556

Please sign in to comment.