google / sg2im

Code for "Image Generation from Scene Graphs", Johnson et al, CVPR 2018
Apache License 2.0
1.29k stars 230 forks source link

Import Variable & fix typo (conv -> layer) #2

Closed GBLin5566 closed 6 years ago

GBLin5566 commented 6 years ago

This pr fixed #1 .

jcjohnson commented 6 years ago

Thanks for pointing this out! Instead of importing Variable I'd prefer to eliminate it entirely to make the code fully compliant with PyTorch 0.4, which I've done in https://github.com/google/sg2im/commit/2a4126b6bf53e328c88065cc3c57bce9e58b08aa