Giter VIP home page Giter VIP logo

nodis's Introduction

Here is Yuren Cong!

nodis's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nodis's Issues

What checkpoint to use for SGDET?

As the guideline says, models for sgcls and predcls are trained from checkpoints/vgdet/vg-24.tar. Model for sgdet may need to be trained based on the former models, but which one to use? Or maybe model for sgcls should be trained based on model for predcls?

GCN with ODE

Would mind giving some instruction on implementing NODIS with GCN rather than LSTM? It seems that The existing file "ODE.py" in the project only constructs ODE blocks based on LSTM. But as GCN need an adjacent matrix in addition, it seems not possible to simply replace LSTM with GCN ("odeint" function seems to only accept one input tensor). I would appreciate if any suggestion is given.

Performance drops slightly compared with the reported ones when reproducing "Ours-LSTM"

I followed the training guidance and use the command
python train_rels.py -m sgcls -order random -b 6 -p 100 -lr 1e-4 -ngpu 1 -ckpt checkpoints/vgdet/vg-24.tar -save_dir checkpoints/ -nepoch 20
to train the model. But the performance seems to be lower than reported. So I kept refining the model with the following command:
python train_rels.py -m sgcls -order random -b 6 -p 100 -lr 1e-4 -ngpu 1 -ckpt checkpoints/vgrel-19.tar -save_dir checkpoints/ -nepoch 11
I got the checkpoint vgrel-30.tar, which resulted in a performance like the following (I have also done a similar procedure for PREDCLS ):
image
Although the results are close, I still want to make a more precise reproduction. Could you please give some advice on it?

Having troble reproducing "ours-FC"

Following the decribtion in the paper, I add a new ODE function:
class odeFunc3(nn.Module):

def __init__(self, use_cuda):
    super(odeFunc3, self).__init__()
    self.use_cuda = use_cuda
    self.linear = nn.Linear(1024, 1024)
    self.hidden_state = None

def init_hidden(self, batch_size):
    return None

def forward(self, t, x):
    x = self.linear(x)
    return x

and replace the two odeFunc used in NODIS.py with it. Then I train the PREDCLS model with:
python models/train_rels.py -m predcls -order random -b 6 -p 100 -lr 1e-4 -ngpu 1 -ckpt checkpoints/vgdet/vg-24.tar -save_dir checkpoints/ -nepoch 20
But when I test the resulting model with:
python models/eval_rels.py -m predcls -order random -b 6 -p 100 -lr 1e-3 -ngpu 1 -test -ckpt checkpoints/vgrel-19-0.6350.tar -nepoch 50
I only got 0.658502 on R@100 for the PREDCLS task.
Did I miss anything?

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.