Spaces:
Sleeping
Sleeping
Zai
commited on
Commit
โข
f2b0abe
1
Parent(s):
f4f803f
added readme and cleanup files
Browse files- .github/workflows/hugging-face.yaml +3 -2
- README.md +16 -59
- setup.py +0 -21
- todo.txt +0 -1
- vegans/dataset.py +1 -1
- version.py +0 -1
.github/workflows/hugging-face.yaml
CHANGED
@@ -16,14 +16,15 @@ jobs:
|
|
16 |
run: |
|
17 |
git config --global user.email "[email protected]"
|
18 |
git config --global user.name "GitHub Actions"
|
|
|
19 |
- name: Update README.md
|
20 |
run: |
|
21 |
tmp_file=$(mktemp)
|
22 |
echo "---" >> $tmp_file
|
23 |
echo "title: Ve Gans" >> $tmp_file
|
24 |
-
echo "emoji:
|
25 |
echo "colorFrom: yellow" >> $tmp_file
|
26 |
-
echo "colorTo:
|
27 |
echo "sdk: streamlit" >> $tmp_file
|
28 |
echo "sdk_version: 1.29.0" >> $tmp_file
|
29 |
echo "app_file: space.py" >> $tmp_file
|
|
|
16 |
run: |
|
17 |
git config --global user.email "[email protected]"
|
18 |
git config --global user.name "GitHub Actions"
|
19 |
+
|
20 |
- name: Update README.md
|
21 |
run: |
|
22 |
tmp_file=$(mktemp)
|
23 |
echo "---" >> $tmp_file
|
24 |
echo "title: Ve Gans" >> $tmp_file
|
25 |
+
echo "emoji: ๐ " >> $tmp_file
|
26 |
echo "colorFrom: yellow" >> $tmp_file
|
27 |
+
echo "colorTo: indigo" >> $tmp_file
|
28 |
echo "sdk: streamlit" >> $tmp_file
|
29 |
echo "sdk_version: 1.29.0" >> $tmp_file
|
30 |
echo "app_file: space.py" >> $tmp_file
|
README.md
CHANGED
@@ -1,72 +1,29 @@
|
|
1 |
-
#
|
2 |
|
3 |
-
|
4 |
|
5 |
-
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
- GAN model for image generation.
|
10 |
-
- Separate scripts for training and generating images.
|
11 |
-
- Easy-to-use command-line interface.
|
12 |
-
|
13 |
-
## Installation
|
14 |
-
|
15 |
-
1. **Clone the repository:**
|
16 |
-
|
17 |
-
```bash
|
18 |
-
git clone https://github.com/zaibutcooler/ve-gans.git
|
19 |
-
cd ve-gans
|
20 |
-
```
|
21 |
|
22 |
-
|
23 |
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
|
28 |
## Usage
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
To train the GAN model, use the following command:
|
33 |
-
|
34 |
-
```bash
|
35 |
-
ve-gans-train
|
36 |
-
```
|
37 |
-
|
38 |
-
## Generating Images
|
39 |
|
40 |
-
|
41 |
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
- `ve_gans/`: Python package containing GAN implementation and utilities.
|
49 |
-
- `generator.py`: Implementation of the GAN generator.
|
50 |
-
- `discriminator.py`: Implementation of the GAN discriminator.
|
51 |
-
- `utils.py`: Utility functions.
|
52 |
-
- `requirements.txt`: List of project dependencies.
|
53 |
-
- `setup.py`: Setup script for installing the package.
|
54 |
-
- `main.py`: Example script for using the ve-gans package.
|
55 |
-
|
56 |
-
## Contributing
|
57 |
-
|
58 |
-
Contributions are welcome! Please follow the [Contribution Guidelines](CONTRIBUTING.md).
|
59 |
|
60 |
## License
|
61 |
|
62 |
-
This project is licensed under the
|
63 |
-
|
64 |
-
## Acknowledgments
|
65 |
-
|
66 |
-
Mention any contributors or libraries that you used or were inspired by.
|
67 |
-
|
68 |
-
## Contact
|
69 |
-
|
70 |
-
- Zai
|
71 |
-
- <[email protected]>
|
72 |
-
- Project Link: [https://github.com/zaibutcooler/ve-gans](https://github.com/zaibutcooler/ve-gans)
|
|
|
1 |
+
# Ve-gans
|
2 |
|
3 |
+
Ve-gans is an ongoing research project focused on developing a generative AI model specifically designed to generate floorplans and architectural drawings. The project aims to advance the capabilities of GANs (Generative Adversarial Networks) in the field of architectural design.
|
4 |
|
5 |
+
## Project Highlights
|
6 |
|
7 |
+
The highlight of this project is the [research paper](https://docs.google.com/document/d/1nm6Pj3HaDo-W2HAQPPrgGqWIH74SPgQZAHxC5Uk20PQ/edit?usp=sharing) that is being written, detailing the methodologies, experiments, and findings related to the generation of architectural designs using GANs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
+
## Features
|
10 |
|
11 |
+
- **Generative AI for Architecture**: Specially designed to generate floorplans and architectural drawings.
|
12 |
+
- **Advanced GAN Techniques**: Utilizes cutting-edge GAN methodologies to create detailed and realistic architectural designs.
|
13 |
+
- **Research-Driven**: The development process is guided by rigorous research and experimentation.
|
14 |
|
15 |
## Usage
|
16 |
|
17 |
+
To use the Ve-gans model and explore its capabilities, refer to the [source code](https://github.com/zaibutcooler/ve-gans) and other resources provided below.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
+
## Links
|
20 |
|
21 |
+
- [Source Code](https://github.com/zaibutcooler/ve-gans)
|
22 |
+
- [Research Paper](https://docs.google.com/document/d/1nm6Pj3HaDo-W2HAQPPrgGqWIH74SPgQZAHxC5Uk20PQ/edit?usp=sharing)
|
23 |
+
- [Hugging Face Space](https://huggingface.co/spaces/zaibutcooler/ve-gans)
|
24 |
+
- [Opensourced Model](https://huggingface.com/zaibutcooler/ve-gans)
|
25 |
+
- [Dataset](https://huggingface.co/datasets/zaibutcooler/archi-12k)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
## License
|
28 |
|
29 |
+
This project is licensed under the GNU GENERAL PUBLIC LICENSE. See the [LICENSE](LICENSE) file for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup.py
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
from setuptools import setup, find_packages
|
2 |
-
|
3 |
-
with open("requirements.txt") as f:
|
4 |
-
requirements = f.read().splitlines()
|
5 |
-
|
6 |
-
setup(
|
7 |
-
name="ve-gans",
|
8 |
-
version="0.1",
|
9 |
-
packages=find_packages(),
|
10 |
-
install_requires=requirements,
|
11 |
-
author="Zai",
|
12 |
-
author_email="[email protected]",
|
13 |
-
description="Floorplan generation model with pytorch",
|
14 |
-
long_description="Detailed description of your project",
|
15 |
-
url="https://github.com/zaibutcooler/ve-gans",
|
16 |
-
classifiers=[
|
17 |
-
"Programming Language :: Python :: 3",
|
18 |
-
"License :: OSI Approved :: MIT License",
|
19 |
-
"Operating System :: OS Independent",
|
20 |
-
],
|
21 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
todo.txt
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
TODO need to start working on comments
|
|
|
|
vegans/dataset.py
CHANGED
@@ -33,4 +33,4 @@ class TrainData(Dataset):
|
|
33 |
return image, label
|
34 |
|
35 |
def __len__(self):
|
36 |
-
return len(self.images)
|
|
|
33 |
return image, label
|
34 |
|
35 |
def __len__(self):
|
36 |
+
return len(self.images)
|
version.py
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
__version__ = "20231117"
|
|
|
|