Navigation Menu

Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhixiuYe committed Feb 26, 2019
1 parent d52ba0a commit 90972f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -31,7 +31,7 @@ PCNN+ATT_RA | 0.403 | **0.422**

1. upzip the file `NYT_data/NYT_data.zip`

2. Make data folder in the following structure
2. make data folder in the following structure

```
Intra-Bag-and-Inter-Bag-Attentions
Expand Down
4 changes: 1 addition & 3 deletions train.py
Expand Up @@ -7,13 +7,11 @@
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as Fh
import torch.optim as optim
import torch.nn.functional as F
import torch.nn.init as weight_init
from sklearn.metrics import average_precision_score
from torch.autograd import Variable
from preprocess.dataset import DocumentContainer
from preprocess.data2pkl import DocumentContainer
from model.model_bagatt import Model


Expand Down

0 comments on commit 90972f6

Please sign in to comment.