All Projects → akshaygadipatil → LayoutGMN-pytorch

akshaygadipatil / LayoutGMN-pytorch

Licence: other
Pytorch implementation of LayoutGMN.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to LayoutGMN-pytorch

Handlebars Layouts
Handlebars helpers which implement layout blocks similar to Jinja, Nunjucks (Swig), Pug (Jade), and Twig.
Stars: ✭ 336 (+1020%)
Mutual labels:  layouts
Discrollview2
[DEPRECATED]Android Library for fancy layouts
Stars: ✭ 79 (+163.33%)
Mutual labels:  layouts
Bforartists
Bforartists is a fork of the popular 3D software Blender, with the goal to improve the UI.
Stars: ✭ 240 (+700%)
Mutual labels:  layouts
Flutter Examples
An ultimate cheatbook of curated designs
Stars: ✭ 675 (+2150%)
Mutual labels:  layouts
Bootstrap4layouts
A Template for Bootstrap 4 based on my Bootstrap 4 Layouts course on LinkedIn Learning
Stars: ✭ 44 (+46.67%)
Mutual labels:  layouts
Easyflipview
💳 A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc.
Stars: ✭ 1,221 (+3970%)
Mutual labels:  layouts
DataViewExtenders
Extenders for WinForms controls, such as DataGridView, DataGridViewColumn, FlowLayoutPanel, TableLayoutPanel, etc
Stars: ✭ 22 (-26.67%)
Mutual labels:  layouts
flexboxes
CSS flexbox framework with pure flexbox grid ability
Stars: ✭ 27 (-10%)
Mutual labels:  layouts
Vue Horizontal
An ultra simple pure vue horizontal layout for modern responsive web with zero dependencies. (SPA/SSG/SSR)
Stars: ✭ 75 (+150%)
Mutual labels:  layouts
Bedrock
Foundational Layout Primitives for your React App
Stars: ✭ 173 (+476.67%)
Mutual labels:  layouts
Lain
Awesome WM complements
Stars: ✭ 716 (+2286.67%)
Mutual labels:  layouts
Xamcustomlayouts
Xamarin.Forms Custom Layouts - Cards
Stars: ✭ 15 (-50%)
Mutual labels:  layouts
Contour
Layouts with lambdas 😎
Stars: ✭ 1,325 (+4316.67%)
Mutual labels:  layouts
Driveway
pure CSS masonry layouts
Stars: ✭ 607 (+1923.33%)
Mutual labels:  layouts
layouts-ezplatform
Netgen Layouts & eZ Platform integration
Stars: ✭ 14 (-53.33%)
Mutual labels:  layouts
Stevia
🍃 Concise Autolayout code
Stars: ✭ 3,182 (+10506.67%)
Mutual labels:  layouts
Ordnung
The 1kb alternative to Isotope
Stars: ✭ 79 (+163.33%)
Mutual labels:  layouts
powergrid
Powerful grid system with CSS grid layout. Works in all modern browsers and IE11.
Stars: ✭ 18 (-40%)
Mutual labels:  layouts
RatioLayouts
A collection of ViewGroups which can have a constant width to height ratio.
Stars: ✭ 19 (-36.67%)
Mutual labels:  layouts
Uistatus
一个简单且强大的Ui状态视图控制库!
Stars: ✭ 137 (+356.67%)
Mutual labels:  layouts

LayoutGMN: Neural Graph Matching for Structural Layout Similarity

This repo provides the source code for our CVPR 2021 paper.

Overall, the repo consists of three parts:

  1. Preparing Layout Graphs
  2. Leveraging Graph Matching Networks (GMN)
  3. Training GMN on the layout graphs

Preparing Layout Graphs

We used two kinds of layout data in our work: Floorplans and UI designs. Our code for layout graph data preparation is, in parts, borrowed from the work of Dipu et al.

In case you are looking for apn_dict (anchor-pos-neg) on floorplan data, here is the link to download it.

A few other pickle files that are needed for training on RPLAN data include: FP_box_info.pkl, FP_box_info_list.pkl and FP_data.p

Graph Matching Network-pytorch

The main machinery in our work is a Graph Matching Network that operates on the obtained layout graphs. We provide our own PyTorch implementation of Graph Matching Networks built on top of the Tensorflow Colab implementation by DeepMind Research.

Requirements

All the required modules are present in the requirements.txt file. Install all the requirements via

pip install -r requirements.txt

You should mainly care about these: Pytorch >=1.6, CUDA >= 9.1, networkx >= 2.3, torch-sparse==0.6.7 (pip install torch-sparse), torch-cluster==1.4.5 (pip install torch-cluster), torch-geometric==1.3.2 (pip install torch-geometric)

Citation

If you find our work useful in your research, consider citing:

@InProceedings{Patil_2021_CVPR,
    author    = {Patil, Akshay Gadi and Li, Manyi and Fisher, Matthew and Savva, Manolis and Zhang, Hao},
    title     = {LayoutGMN: Neural Graph Matching for Structural Layout Similarity},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2021},
    pages     = {11048-11057}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].