Git Product home page Git Product logo

patent-image-retrieval-transformer-dml's Introduction

Patent Image Retrieval

PWC

Summary

The repository contains a Patent Image Retrieval, Transformer backbone, deep metric learning, and preprocessing in Python/PyTorch.

The repository is based on the paper: Kotaro Higuchi, Keiji Yanai, Patent Image Retrieval Using Transformer-based Deep Metric Learning, World Patent Information(WPI) 2023. [Abstract(WPI)]

Update(Jul 21, 2023)

  • This project was accepted to World Patent Information. We achieved the State-Of-The-Art(SOTA) score of mAP in patent image retrieval. [Abstract(WPI)] [Code]
  • Pre-training & Fine-tuning codes
  • DeepPatent link [Project]

Update(Feb 1, 2023)

  • Initial project "Patent Image Retrieval using Cross-entropy-based Metric Learning" was released. The paper was accepted to International Workshop on Frontiers of Computer Vision(IW-FCV). We achieved to search patent image without traditional IPC or CPC. [PDF(IW-FCV)]

Citation

If you use this code, please cite the following paper:

@article{HiguchiWPI2023,
  title = {Patent image retrieval using transformer-based deep metric learning},
  journal = {World Patent Information},
  volume = {74},
  pages = {102217},
  year = {2023},
  doi = {https://doi.org/10.1016/j.wpi.2023.102217},
  author = {Kotaro Higuchi and Keiji Yanai},
}

@inproceedings{HiguchiIWFCV2023,
  author={Higuchi, Kotaro and Honbu, Yuma and Yanai, Keiji},
  title={Patent Image Retrieval Using Cross-entropy-based Metric Learning},
  article={International Workshop on Frontiers of Computer Vision(IW-FCV)},
  year={2023},
}

Requirements

  • PyTorch > 1.6.0
  • torchvision > 0.7.0
  • Pytorch Metric Learning
  • CUDA
  • CuDNN
  • FAISS
  • OpenCV
  • Graphic board (worked at NVIDIA A6000*8)

Instllation

Requisites

  • PyTorch Metric Learning
    • conda install -c conda-forge pytorch-metric-learning
  • FAISS
    • conda install -c conda-forge faiss-gpu

Run

  • Jupyter Notebook
    • Run this Notebook file on Ubuntu 22.04 LTS

Note

  • This repository contains the legendary version of the ArcFace implementation with the Python interface. Code
  • We tested this notebook with Python3, on Ubuntu.
  • Patlist is from DeepPatent dataset. It teaches the path to the substantial dataset.

Dataset

  • If you would like to fine-tune on an conventional dataset, you must prepare the DeepPatent dataset. [Project]
  • Same test/val/train split as the DeepPatent dataset

Terms of use

The authors affiliated in The University of Electro-Communications(UEC) are not responsible for the reproduction, duplication, copy, sale, trade, resell or exploitation for any commercial purposes, of any portion of the images and any portion of derived the data. In no event will we be also liable for any other damages resulting from this data or any derived data.

patent-image-retrieval-transformer-dml's People

Contributors

l4clippers avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.