Still working on V1 Fastai. I have a DataBunch that generates an X tuple with 2 inputs that I’m attempting to feed into a CNN with a double input base. I’m getting an error that seems to be coming from the way FastAi is unwrapping the data and feeding it to the final model. I have tried unpacking it a few ways but can’t quite figure out how to pass the data streams down to the model base.
Gist of 2 input model
Gist of DataBunch Preparation
TypeError: forward() takes 2 positional arguments but 3 were given
data
ImageDataBunch;
Train: LabelList (29901 items)
x: MultiChannelImageTupleList
(Image (6, 512, 512), Image (6, 512, 512)),(Image (6, 512, 512), Image (6, 512, 512)),(Image (6, 512, 512), Image (6, 512, 512)),(Image (6, 512, 512), Image (6, 512, 512)),(Image (6, 512, 512), Image (6, 512, 512))
y: CategoryList
513,840,1020,254,144
Path: recursion_data\train;
Valid: LabelList (6614 items)
x: MultiChannelImageTupleList
(Image (6, 512, 512), Image (6, 512, 512)),(Image (6, 512, 512), Image (6, 512, 512)),(Image (6, 512, 512), Image (6, 512, 512)),(Image (6, 512, 512), Image (6, 512, 512)),(Image (6, 512, 512), Image (6, 512, 512))
y: CategoryList
239,914,450,657,986
Path: recursion_data\train;
Test: None