Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Dataset refactoring #88

Merged
merged 12 commits into from
Apr 25, 2019
Merged

Dataset refactoring #88

merged 12 commits into from
Apr 25, 2019

Conversation

mibaumgartner
Copy link
Member

@mibaumgartner mibaumgartner commented Apr 16, 2019

Are there any additional functions which should be added or changes?

@mibaumgartner mibaumgartner changed the title Dataset refactoring WIP: Dataset refactoring Apr 16, 2019
@@ -771,10 +648,10 @@ def __getitem__(self, index):

data = self.data[index]
data_dict = {"data": np.array(data[0]),
"label": data[1].numpy().reshape(1).astype(np.float32)}
"label": data[1].reshape(1).astype(np.float32)}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to remember: This will fail with torchvision < 0.2.2; fixed in #66

Copy link
Member

@justusschock justusschock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general, I left a few comments, but nothing major, except the _DatasetIterator from #83 is still missing

@justusschock justusschock added this to ToDo in DataLoading via automation Apr 17, 2019
DataLoading automation moved this from ToDo to In Progress Apr 24, 2019
@justusschock justusschock changed the title WIP: Dataset refactoring Dataset refactoring Apr 25, 2019
@justusschock justusschock merged commit 084b6e8 into master Apr 25, 2019
DataLoading automation moved this from In Progress to Done Apr 25, 2019
@justusschock justusschock deleted the dataset_refactoring branch April 25, 2019 07:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
DataLoading
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants