Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: miridih-jjkim
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 18.8 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

SimLayout Retrieval

This project provides tools for extracting embeddings and calculating similarity scores between images using a pre-trained model.

Requirements

  • Python 3.x
  • PyTorch
  • Other dependencies as specified in requirements.txt

Installation

  1. Clone the repository: bash git clone https://github.com/miridih-jjkim/simlayout_retrieval.git cd simlayout_retrieval

  2. Install the required packages: bash pip install -r requirements.txt

Usage

Embedding Extraction

To extract embeddings from images, use the following command:

  • /data/decoreted/test: Path to the directory containing the images for which embeddings need to be extracted. Change it to your own directory.
  • /data/ckpt_codetr/epoch_16.pth: Path to the pre-trained model checkpoint. Do not change it untill the new model is released.
  • --out-dir /data/sample_results: Directory where the extracted embeddings will be saved.

bash CUDA_VISIBLE_DEVICES=0 python demo/inference_demo.py /data/decoreted/test /data/ckpt_codetr/epoch_16.pth --out-dir /data/sample_results

Similarity Calculation

To calculate similarity scores between images, run:

bash CUDA_VISIBLE_DEVICES=0 python demo/cal_sim_score.py

This script will compute similarity scores for a set of target images against all other images in the specified directory and save the results in JSON format.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • DreamSim for the pre-trained model and embedding extraction framework.

Owner

  • Login: miridih-jjkim
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - name: "MMDetection Contributors"
title: "OpenMMLab Detection Toolbox and Benchmark"
date-released: 2018-08-22
url: "https://github.com/open-mmlab/mmdetection"
license: Apache-2.0

GitHub Events

Total
  • Member event: 2
  • Push event: 3
  • Create event: 2
Last Year
  • Member event: 2
  • Push event: 3
  • Create event: 2

Dependencies

docker/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
docker/serve/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
docker/serve_cn/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
dino_requirements.txt pypi
  • cuml-cu11 *
  • fvcore *
  • iopath *
  • omegaconf *
  • submitit *
  • torch ==2.0.0
  • torchmetrics ==0.10.3
  • torchvision ==0.15.0
  • xformers ==0.0.18
mmdet.egg-info/requires.txt pypi
  • asynctest *
  • cityscapesscripts *
  • codecov *
  • cython *
  • emoji *
  • fairscale *
  • flake8 *
  • imagecorruptions *
  • instaboostfast *
  • interrogate *
  • isort ==4.3.21
  • jsonlines *
  • kwarray *
  • matplotlib *
  • memory_profiler *
  • mmcv <2.2.0,>=2.0.0rc4
  • mmengine <1.0.0,>=0.7.1
  • mmpretrain *
  • mmtrack *
  • motmetrics *
  • nltk *
  • numpy <1.24.0
  • numpy *
  • onnx ==1.7.0
  • onnxruntime >=1.8.0
  • parameterized *
  • prettytable *
  • protobuf <=3.20.1
  • psutil *
  • pycocoevalcap *
  • pycocotools *
  • pytest *
  • scikit-learn *
  • scipy *
  • seaborn *
  • shapely *
  • six *
  • terminaltables *
  • tqdm *
  • transformers *
  • ubelt *
  • xdoctest >=0.10.0
  • yapf *
new_requirements.txt pypi
  • miminstall *
  • miminstallmmdet *
  • miminstallmmengine *
  • pipinstallnumpy ==1.26.4
  • pipinstallopenmim *
  • pipinstalltorch ==2.1.2
  • pipinstalltorchvision ==0.16.2
requirements/albu.txt pypi
  • albumentations >=0.3.2
requirements/build.txt pypi
  • cython *
  • numpy *
requirements/docs.txt pypi
  • docutils ==0.16.0
  • myst-parser *
  • sphinx ==4.0.2
  • sphinx-copybutton *
  • sphinx_markdown_tables *
  • sphinx_rtd_theme ==0.5.2
  • urllib3 <2.0.0
requirements/mminstall.txt pypi
  • mmcv >=2.0.0rc4,<2.2.0
  • mmengine >=0.7.1,<1.0.0
requirements/multimodal.txt pypi
  • fairscale *
  • jsonlines *
  • nltk *
  • pycocoevalcap *
  • transformers *
requirements/optional.txt pypi
  • cityscapesscripts *
  • emoji *
  • fairscale *
  • imagecorruptions *
  • scikit-learn *
requirements/readthedocs.txt pypi
  • mmcv >=2.0.0rc4,<2.2.0
  • mmengine >=0.7.1,<1.0.0
  • scipy *
  • torch *
  • torchvision *
  • urllib3 <2.0.0
requirements/runtime.txt pypi
  • matplotlib *
  • numpy *
  • pycocotools *
  • scipy *
  • shapely *
  • six *
  • terminaltables *
  • tqdm *
requirements/tests.txt pypi
  • asynctest * test
  • cityscapesscripts * test
  • codecov * test
  • flake8 * test
  • imagecorruptions * test
  • instaboostfast * test
  • interrogate * test
  • isort ==4.3.21 test
  • kwarray * test
  • memory_profiler * test
  • nltk * test
  • onnx ==1.7.0 test
  • onnxruntime >=1.8.0 test
  • parameterized * test
  • prettytable * test
  • protobuf <=3.20.1 test
  • psutil * test
  • pytest * test
  • transformers * test
  • ubelt * test
  • xdoctest >=0.10.0 test
  • yapf * test
requirements/tracking.txt pypi
  • mmpretrain *
  • motmetrics *
  • numpy <1.24.0
  • scikit-learn *
  • seaborn *
requirements.txt pypi
setup.py pypi
wandb/run-20241230_023157-evsz37gk/files/requirements.txt pypi
  • GitPython ==3.1.43
  • Jinja2 ==3.0.0
  • Markdown ==3.4.4
  • MarkupSafe ==2.0.1
  • Pillow ==8.2.0
  • PySocks ==1.7.1
  • PyYAML ==6.0.1
  • Pygments ==2.17.2
  • addict ==2.4.0
  • aliyun-python-sdk-core ==2.16.0
  • aliyun-python-sdk-kms ==2.16.5
  • backcall ==0.2.0
  • beautifulsoup4 ==4.9.3
  • brotlipy ==0.7.0
  • certifi ==2021.5.30
  • cffi ==1.14.5
  • chardet ==3.0.4
  • charset-normalizer ==3.4.1
  • click ==8.1.8
  • colorama ==0.4.6
  • conda ==4.10.1
  • conda-build ==3.21.4
  • conda-package-handling ==1.7.3
  • crcmod ==1.7
  • cryptography ==3.4.7
  • cycler ==0.11.0
  • decorator ==5.0.9
  • dnspython ==2.1.0
  • docker-pycreds ==0.4.0
  • filelock ==3.0.12
  • fonttools ==4.38.0
  • gitdb ==4.0.11
  • glob2 ==0.7
  • idna ==2.10
  • importlib-metadata ==6.7.0
  • ipython ==7.22.0
  • ipython-genutils ==0.2.0
  • jedi ==0.17.0
  • jmespath ==0.10.0
  • kiwisolver ==1.4.5
  • libarchive-c ==2.9
  • markdown-it-py ==2.2.0
  • matplotlib ==3.5.3
  • mdurl ==0.1.2
  • mkl-fft ==1.3.0
  • mkl-random ==1.2.1
  • mkl-service ==2.3.0
  • mmcv ==2.1.0
  • mmdet ==3.3.0
  • mmengine ==0.10.5
  • model-index ==0.1.11
  • numpy ==1.20.2
  • olefile ==0.46
  • opencv-python ==4.10.0.84
  • opendatalab ==0.0.10
  • openmim ==0.3.9
  • openxlab ==0.0.10
  • ordered-set ==4.1.0
  • oss2 ==2.17.0
  • packaging ==24.0
  • pandas ==1.3.5
  • parso ==0.8.2
  • pexpect ==4.8.0
  • pickleshare ==0.7.5
  • pip ==21.1.2
  • pkginfo ==1.7.0
  • platformdirs ==4.0.0
  • prompt-toolkit ==3.0.17
  • protobuf ==4.24.4
  • psutil ==5.8.0
  • ptyprocess ==0.7.0
  • pyOpenSSL ==19.1.0
  • pycocotools ==2.0.7
  • pycosat ==0.6.3
  • pycparser ==2.20
  • pycryptodome ==3.21.0
  • pyparsing ==3.1.4
  • python-dateutil ==2.9.0.post0
  • python-etcd ==0.4.5
  • pytz ==2023.4
  • requests ==2.28.2
  • rich ==13.8.1
  • ruamel-yaml-conda ==0.15.100
  • scipy ==1.7.3
  • sentry-sdk ==2.19.2
  • setproctitle ==1.3.3
  • setuptools ==60.2.0
  • shapely ==2.0.6
  • six ==1.16.0
  • smmap ==5.0.1
  • soupsieve ==2.2.1
  • tabulate ==0.9.0
  • termcolor ==2.3.0
  • terminaltables ==3.1.10
  • tomli ==2.0.1
  • torch ==1.9.0
  • torchelastic ==0.2.0
  • torchtext ==0.10.0
  • torchvision ==0.10.0
  • tqdm ==4.65.2
  • traitlets ==5.0.5
  • typing_extensions ==4.7.1
  • urllib3 ==1.26.20
  • wandb ==0.18.7
  • wcwidth ==0.2.5
  • wheel ==0.35.1
  • yapf ==0.43.0
  • zipp ==3.15.0
wandb/run-20241230_044224-lbcsp58u/files/requirements.txt pypi
  • GitPython ==3.1.43
  • Jinja2 ==3.0.0
  • Markdown ==3.4.4
  • MarkupSafe ==2.0.1
  • Pillow ==8.2.0
  • PySocks ==1.7.1
  • PyYAML ==6.0.1
  • Pygments ==2.17.2
  • addict ==2.4.0
  • aliyun-python-sdk-core ==2.16.0
  • aliyun-python-sdk-kms ==2.16.5
  • backcall ==0.2.0
  • beautifulsoup4 ==4.9.3
  • brotlipy ==0.7.0
  • certifi ==2021.5.30
  • cffi ==1.14.5
  • chardet ==3.0.4
  • charset-normalizer ==3.4.1
  • click ==8.1.8
  • colorama ==0.4.6
  • conda ==4.10.1
  • conda-build ==3.21.4
  • conda-package-handling ==1.7.3
  • crcmod ==1.7
  • cryptography ==3.4.7
  • cycler ==0.11.0
  • decorator ==5.0.9
  • dnspython ==2.1.0
  • docker-pycreds ==0.4.0
  • filelock ==3.0.12
  • fonttools ==4.38.0
  • gitdb ==4.0.11
  • glob2 ==0.7
  • idna ==2.10
  • importlib-metadata ==6.7.0
  • ipython ==7.22.0
  • ipython-genutils ==0.2.0
  • jedi ==0.17.0
  • jmespath ==0.10.0
  • kiwisolver ==1.4.5
  • libarchive-c ==2.9
  • markdown-it-py ==2.2.0
  • matplotlib ==3.5.3
  • mdurl ==0.1.2
  • mkl-fft ==1.3.0
  • mkl-random ==1.2.1
  • mkl-service ==2.3.0
  • mmcv ==2.1.0
  • mmdet ==3.3.0
  • mmengine ==0.10.5
  • model-index ==0.1.11
  • numpy ==1.20.2
  • olefile ==0.46
  • opencv-python ==4.10.0.84
  • opendatalab ==0.0.10
  • openmim ==0.3.9
  • openxlab ==0.0.10
  • ordered-set ==4.1.0
  • oss2 ==2.17.0
  • packaging ==24.0
  • pandas ==1.3.5
  • parso ==0.8.2
  • pexpect ==4.8.0
  • pickleshare ==0.7.5
  • pip ==21.1.2
  • pkginfo ==1.7.0
  • platformdirs ==4.0.0
  • prompt-toolkit ==3.0.17
  • protobuf ==4.24.4
  • psutil ==5.8.0
  • ptyprocess ==0.7.0
  • pyOpenSSL ==19.1.0
  • pycocotools ==2.0.7
  • pycosat ==0.6.3
  • pycparser ==2.20
  • pycryptodome ==3.21.0
  • pyparsing ==3.1.4
  • python-dateutil ==2.9.0.post0
  • python-etcd ==0.4.5
  • pytz ==2023.4
  • requests ==2.28.2
  • rich ==13.8.1
  • ruamel-yaml-conda ==0.15.100
  • scipy ==1.7.3
  • sentry-sdk ==2.19.2
  • setproctitle ==1.3.3
  • setuptools ==60.2.0
  • shapely ==2.0.6
  • six ==1.16.0
  • smmap ==5.0.1
  • soupsieve ==2.2.1
  • tabulate ==0.9.0
  • termcolor ==2.3.0
  • terminaltables ==3.1.10
  • tomli ==2.0.1
  • torch ==1.9.0
  • torchelastic ==0.2.0
  • torchtext ==0.10.0
  • torchvision ==0.10.0
  • tqdm ==4.65.2
  • traitlets ==5.0.5
  • typing_extensions ==4.7.1
  • urllib3 ==1.26.20
  • wandb ==0.18.7
  • wcwidth ==0.2.5
  • wheel ==0.35.1
  • yapf ==0.43.0
  • zipp ==3.15.0