Cadene / vqa.pytorch

Visual Question Answering in Pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

extract.py gives error for COCOImages

backpropper opened this issue · comments

extract.py calls self._raw() (

). But since self.split_name is not defined until the parent constructor is complete, it gives an Attribute error.
Some suggestions - you can either pass the split_name to the _raw function or define it before calling the parent constructor in COCOImages.

commented

Thanks for your contribution. If you have enough time, you could send a PR. If not, I will update the code asap.

Cool I will send in a PR.