This is an experimental project for developing photo-realistic architecture from drawings. Architects develop their ideas from drawings. It is no exaggeration to say that drawing is the source of architecture. In general, the sketches are rough and quite conceptual because detailed sketches require so much time. These days, architects use computers to convey their ideas with CAD (computer-aided design) software instead of drawing by hand. Computers can help architects to embody their ideas, but they first need to create the models on computers, select the texture, and then render them to get photo-realistic images (rendering sometimes takes more than 24 hours).
This project aims to skip the process of drawing detailed illustrations and modeling on computers. ‘edge2architecture’ will directly generate photo-realistic images from rough drawings. Moreover, it might develop unexpected but completely novel architectural designs. This is a purely computer-automated design tool.
The transformation is based on pix2pix and the 200 training images were taken from Pinterest.
- Run
./download_model.sh
to download the n2p model. - Run
python app.py
to launch the generator. - Run
cd ./doc & python -m SimpleHTTPServer
to launch the web client. - Open
localhost:8000
from any browser.
- PyTorch
pip install flask flask_cors dominate visdom
cd vision & python setup.py install
The generator is based on CycleGAN-and-pix2pix-in-PyTorch by junyanz.
- macOS 10.12.6
- Python 3.6.0
ytakzk
https://ytakzk.me