GithubHelp home page GithubHelp logo

xusun26 / simnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lancopku/simnet

0.0 1.0 0.0 0 B

Code for "simNet: Stepwise Image-Topic Merging Network for Generating Detailed and Comprehensive Image Captions"

Python 100.00%

simnet's Introduction

simNet

Implementation of "simNet: Stepwise Image-Topic Merging Network for Generating Detailed and Comprehensive Image Captions"

Requirements

This code is written in Python2.7 and requires Torch 0.3

You need to download pre-trained Resnet152 model from torchvision for both training and evaluation.

You can have a look at https://github.com/s-gupta/visual-concepts to get topic words

Training a simNet model

Now we can train our simNet model with

CUDA_VISIBLE_DEVICES=1,2,3 screen python train.py

Testing a trained model

We can test our simNet model with

CUDA_VISIBLE_DEVICES=1,2,3 screen python test.py

Note

If you have any questions about the code or our paper, please send an email to "[email protected]"

Reference

If you use this code as part of any published research, please acknowledge the following paper

@misc{Liu2018simNet,
author = {Fenglin Liu, Xuancheng Ren, Yuanxin Liu, Houfeng Wang, Xu Sun},
title = {simNet: Stepwise Image-Topic Merging Network for Generating Detailed and Comprehensive Image Captions},
journal = {EMNLP},
year = {2018}
}

Acknowledgement

Thanks to Torch team for providing Torch 0.3, CodaLab team for providing online evaluation,COCO team and Flickr30k for providing dataset, Tsung-Yi Lin for providing evaluation codes for MS COCO caption generation, Yufeng Ma's open source repositories and Torchvision ResNet implementation.

simnet's People

Watchers

James Cloos 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.