Skip to content

Commit

Permalink
update TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
royalskye committed Mar 26, 2020
1 parent daef13f commit d053a61
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@

> NTU-AI6127 NLP Final Project
### Ref
### Reference

* [a-PyTorch-Tutorial-to-Image-Captioning](https://github.com/sgrvinod/a-PyTorch-Tutorial-to-Image-Captioning)

### TODO

- [x] Baseline.
- [ ] Glove pre-trained word embedding
- [ ] [Multi-Eva metrics](https://github.com/tylin/coco-caption)
- [ ] [self-attentiion:Transformer](https://github.com/huggingface/transformers)
- [ ] try [Multi layer RNN](https://github.com/sgrvinod/a-PyTorch-Tutorial-to-Image-Captioning/pull/79) or different attention (may discard)

### Requirements

Recommend for `Conda` Env.
Expand Down
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def validate(args, val_loader, encoder, decoder, criterion):
dropout=args.dropout)
decoder_optimizer = torch.optim.Adam(params=filter(lambda p: p.requires_grad, decoder.parameters()),
lr=args.decoder_lr)
else:
elif args.decoder_mode == "TRANSFORMER":
# TODO: Transformer
pass

Expand Down

0 comments on commit d053a61

Please sign in to comment.