Dlhsd
This Repo Contains the Source Code and Pretrained Model for the Paper "Layout Hotspot Detection with Feature Tensor Generation and Deep Biased Learning", which is published in 54th Design Automation Conference. The extension is accepted by IEEE Transactions on Computer-Aided Design.
Install / Use
/learn @phdyang007/DlhsdREADME
DLHSD
Dataset
Feature Tensor Extraction Data is already within this repo, original gds can be found at https://www.cse.cuhk.edu.hk/~byu/files/benchmarks/gdsiccad.zip
See also the rasterized images https://huggingface.co/datasets/phdyang007/ICCAD12/tree/main
Dependencies
numpy, tensorflow (tested on 1.3 and 1.9), pandas, json, ConfigParser (configparser for python 3), progress
Feature Tensor Extraction
-Currently, FTE source code is applicable on Python 2 only.
python feature.py str<image_folder> str<output_feature_folder> int<block_size> int<block_dim> int<feature_length>
Test
e.g. to test iccad1 of dac17, you need to modify iccad1_config.ini
set model_path=./models/iccad1/bl/model.ckpt
set aug=0 and
make iccad1_test in dlhsd directory
Train
e.g. to train iccad1 of dac17, you need to modify iccad1_config.ini
set save_path=./models/iccad1/bl/model.ckpt
set aug=0 and
python train_dac.py iccad1_config.ini <gpu_id>
use train.py if you want to see some results of the TCAD extension
Updates
-20190326: Transferred to Python 3.x (If you want python2 version please find at tag dlhsd-py2)
-20181220: Add script for feature tensor extraction.
-20180827: Add the link of original images of layouts from the ICCAD benchmark (resolution: 1nm).
-20180705: Fix a bug that learning rate does not decay properly which might cause unstable results.
Related Skills
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
ui-ux-pro-max-skill
61.7kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
ui-ux-pro-max-skill
61.7kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
onlook
25.1kThe Cursor for Designers • An Open-Source AI-First Design tool • Visually build, style, and edit your React App with AI
