Code Monkey home page Code Monkey logo

focus-longer-to-see-better's Introduction

# Focus-Longer-to-See-Better

This repo contains the pytorch implementation of paper Focus Longer to See Better:Recursively Refined Attention for Fine-Grained Image Classification

Requirements

  • Python >= 3.6
  • Pytorch > 0.4.1
  • torchvision >= 0.2.1

Training

The patches are already extracted and kept in the folder Patches . Use following command to train and test the results.

python main.py -savedir <path_to_save_weights> -num_timesteps 10 -batch_size 32 -test_freq 2 -imgdir <Path_to_train_imgdir> -testimgdir <Path_to_test_imgdir> -lr 0.001 --lr_steps 30 60

Citation

@InProceedings{Shroff_2020_CVPR_Workshops,
author = {Shroff, Prateek and Chen, Tianlong and Wei, Yunchao and Wang, Zhangyang},
title = {Focus Longer to See Better: Recursively Refined Attention for Fine-Grained Image Classification},
booktitle = {The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
month = {June},
year = {2020}
}

focus-longer-to-see-better's People

Contributors

pshroff04 avatar tianlong-chen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

focus-longer-to-see-better's Issues

patch部分

请问,你们得patch是如何剪切出来得呢?如果我想使用我自己得数据集来跑通你们得代码,那我的patch应该如何处理?

from models import vgg19_lastShot

你好,请问在grad_cam部分,你们引用了vgg19_lastShot部分,但是并没有相对应的包请问这部分是怎么引用的呢?

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.