Skip to content

Commit b4268c0

Browse files
authored
Merge pull request chairc#132 from chairc/dev
chore: Update installation scripts and documentation.
2 parents 3410f53 + 279aa23 commit b4268c0

6 files changed

Lines changed: 10 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ torchvision>=0.10.0 # More info: https://pytorch.org/get-started/locally/ (recom
100100
```bash
101101
git clone https://github.com/chairc/Integrated-Design-Diffusion-Model.git
102102
cd Integrated-Design-Diffusion-Model
103-
python setup.py install
103+
pip install . # Or python setup.py install
104104
```
105105

106106

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ torchvision>=0.10.0 # 更多信息:https://pytorch.org/get-started/locally/
9898
```bash
9999
git clone https://github.com/chairc/Integrated-Design-Diffusion-Model.git
100100
cd Integrated-Design-Diffusion-Model
101-
python setup.py install
101+
pip install . # 或者 python setup.py install
102102
```
103103

104104

docs/en-US/00_about_the_model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,6 @@ torchvision>=0.10.0 # More info: https://pytorch.org/get-started/locally/ (recom
130130
```bash
131131
git clone https://github.com/chairc/Integrated-Design-Diffusion-Model.git
132132
cd Integrated-Design-Diffusion-Model
133-
python setup.py install
133+
pip install . # Or python setup.py install
134134
```
135135

docs/zh-Hans/00_关于模型.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,5 @@ torchvision>=0.10.0 # 更多信息:https://pytorch.org/get-started/locally/
135135
```bash
136136
git clone https://github.com/chairc/Integrated-Design-Diffusion-Model.git
137137
cd Integrated-Design-Diffusion-Model
138-
python setup.py install
138+
pip install . # 或者 python setup.py install
139139
```

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ tqdm==4.66.3
1010
pytorch_fid==0.3.0
1111
fastapi==0.115.6
1212
tensorboardX==2.6.1
13-
1413
# If you want to download gpu version
1514
# Please use: pip install torch==1.13.0+cu116 torchvision==0.14.0+cu116 -f https://download.pytorch.org/whl/torch_stable.html
1615
# About more torch information please click: https://pytorch.org/get-started/previous-versions/#linux-and-windows-25
1716
# More versions please click: https://pytorch.org/get-started/previous-versions
1817
# [Note] torch versions must >= 1.9.0
19-
torch>=1.9.0 # More info: https://pytorch.org/get-started/locally/ (recommended)
20-
torchvision>=0.10.0 # More info: https://pytorch.org/get-started/locally/ (recommended)
18+
# More info: https://pytorch.org/get-started/locally/ (recommended)
19+
torch>=1.9.0
20+
torchvision>=0.10.0

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ def get_long_description():
3838
# Define the metadata of the package
3939
setup(
4040
name="iddm",
41-
version="1.1.8-b3",
41+
version="1.1.8b3",
4242
packages=find_packages(),
4343
python_requires=">=3.8",
44-
install_requires=package_list,
44+
# Windows users may get path problems, replace get_install_requirements() with package_list
45+
install_requires=get_install_requirements(),
4546
license="Apache-2.0",
4647
description="IDDM: Integrated Design Diffusion Model",
4748
long_description=get_long_description(),

0 commit comments

Comments
 (0)