Git Product home page Git Product logo

tsp-prl's Introduction

Tree-Structured Policy based Progressive Reinforcement Learning for Temporally Language Grounding in Video (AAAI2020)

This repository contains the pytorch codes and trained models described in the paper "Tree-Structured Policy based Progressive Reinforcement Learning for Temporally Language Grounding in Video" By Jie Wu, Guanbin Li, Si Liu, Liang Lin. Paper

Motivation

Motivation

Framework

Framework

Requirements

  • Python 2.7
  • Pytorch 0.4.1
  • matplotlib
  • The code is for Charades-STA dataset.

Visual Features

Please download the features in Features1, and put it in the "Dataset/Charades" folder.

Training and Testing Data

Please download the TrainingData in TrainingData, and put it in the "Dataset/Charades/ref_info" folder. Please download the TestingData in TestingData, and put it in the "Dataset/Charades/ref_info" folder.

Pre-trained models

We provide the pre-trained model for Charades-STA dataset, which can get 24.73 on R@1, IoU0.7 and 45.30 on R@1, IoU0.5: Models

Train

python train.py

Validate

python val.py

Test from Pre-trained Model

python test.py

tsp-prl's People

Contributors

wujie1010 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tsp-prl's Issues

many files were missed

Hi. i've implement your code but 'charades_movie_length_info.txt' and 'charades_sta_test_swin_props_num_36364.txt' were missed. Could you provide these missing files please?

test.py wont run

python2.7 test.py 
1334 test videos are readed
Traceback (most recent call last):
  File "test.py", line 34, in <module>
    test_dataset = Charades_Test_dataset()
  File "/media/test/ssd_ntfs/video_analytics_projects/TSP-PRL/dataloader_charades.py", line 215, in __init__
    with open(self.test_swin_txt_path) as f:
IOError: [Errno 2] No such file or directory: './Dataset/Charades/ref_info/charades_sta_test_swin_props_num_36364.txt'

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.