fastai / fastai2

Temporary home for fastai v2 while it's being developed
https://dev.fast.ai
Apache License 2.0
645 stars 235 forks source link

WandbCallback does not work with TfmdLists #70

Closed borisdayma closed 4 years ago

borisdayma commented 4 years ago

When using TfmdLists, WandbCallback returns an error at this line.

The reason is that self.dls.valid_ds is TfmdLists so has no tls attribute (vs Datasets which is expected here).

At this step, we are trying to create a dataloader with specified idxs for future inference.

On another note, a few other issues are related to this callback:

borisdayma commented 4 years ago

I tried a few things:

borisdayma commented 4 years ago

I looked at the predict function to process the items one at a time but I could not make it work with a learner built from TfmdLists.