Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Autolod | 1,354 | a year ago | 7 | other | C# | |||||
Automatic LOD generation + scene optimization | ||||||||||
Scene Graph Benchmark.pytorch | 914 | 2 months ago | 108 | mit | Jupyter Notebook | |||||
A new codebase for popular Scene Graph Generation methods (2020). Visualization & Scene Graph Extraction on custom images/datasets are provided. It's also a PyTorch implementation of paper “Unbiased Scene Graph Generation from Biased Training CVPR 2020” | ||||||||||
Three.terrain | 509 | 5 | 4 | a year ago | 6 | July 06, 2021 | 3 | mit | JavaScript | |
A procedural terrain generation engine for use with the Three.js 3D graphics library for the web. | ||||||||||
Graph Rcnn.pytorch | 482 | 4 years ago | 32 | Python | ||||||
Pytorch code for our ECCV 2018 paper "Graph R-CNN for Scene Graph Generation" and other papers | ||||||||||
Factorizablenet | 157 | 4 years ago | 6 | Python | ||||||
Factorizable Net (Multi-GPU version): An Efficient Subgraph-based Framework for Scene Graph Generation | ||||||||||
Scene_generation | 145 | 3 years ago | 6 | apache-2.0 | Python | |||||
A PyTorch implementation of the paper: Specifying Object Attributes and Relations in Interactive Scene Generation | ||||||||||
Text2scene | 101 | a year ago | 2 | Python | ||||||
[CVPR 2019] Text2Scene: Generating Compositional Scenes from Textual Descriptions | ||||||||||
Proceduralpatterns2d | 57 | 5 years ago | other | C# | ||||||
Scfusion | 44 | 2 months ago | 2 | bsd-2-clause | C++ | |||||
The code of SCFusion: Real-time Incremental Scene Reconstruction with Semantic Completion | ||||||||||
Ebm_compositionality | 31 | 2 years ago | 3 | Python | ||||||
[NeurIPS'20] Code for the Paper Compositional Visual Generation and Inference with Energy Based Models |
A PyTorch implementation of the paper Specifying Object Attributes and Relations in Interactive Scene Generation
Specifying Object Attributes and Relations in Interactive Scene Generation
Oron Ashual1, Lior Wolf1,2
1 Tel-Aviv University, 2 Facebook AI Research
The IEEE International Conference on Computer Vision (ICCV), 2019, (Oral)
All code was developed and tested on Ubuntu 18.04 with Python 3.6 (Anaconda) and PyTorch 1.0.
conda create -n scene_generation python=3.7
conda activate scene_generation
cd ~
git clone https://github.com/ashual/scene_generation.git
cd scene_generation
conda install --file requirements.txt -c conda-forge -c pytorch
Note: we didn't train our models with COCO panoptic dataset, the coco_panoptic.py code is for the sake of the community only.
cd ~
git clone https://github.com/cocodataset/cocoapi.git
cd cocoapi/PythonAPI/
python setup.py install
cd ~/scene_generation
$ python train.py
python scripts/encode_features --checkpoint TRAINED_MODEL_CHECKPOINT
python scripts/sample_images.py --checkpoint TRAINED_MODEL_CHECKPOINT --batch_size 32 --output_dir OUTPUT_DIR
Download these files into models/
The GUI was built as POC. Use it at your own risk:
python scripts/gui/simple-server.py --checkpoint YOUR_MODEL_CHECKPOINT --output_dir [DIR_NAME] --draw_scene_graphs 0
Results were measured by sample images from the validation set and then running these 3 official scripts:
train_accuracy_net.py
. A trained model is provided. Adding the argument --accuracy_model_path MODEL_PATH
will output the accuracy of the objects.Run this command
$ python scripts/sample_images.py --checkpoint TRAINED_MODEL_CHECKPOINT --output_dir OUTPUT_DIR
with these arguments:
If you find this code useful in your research then please cite
@InProceedings{Ashual_2019_ICCV,
author = {Ashual, Oron and Wolf, Lior},
title = {Specifying Object Attributes and Relations in Interactive Scene Generation},
booktitle = {The IEEE International Conference on Computer Vision (ICCV)},
month = {October},
year = {2019}
}
Our project borrows some source files from sg2im. We thank the authors.