Alpaca model just doesn't work

I load up my pre-trained model and then test it out as per the two images I have shared.

But I have no idea what is going wrong with the errors

Hey, you’ve not applied data augmentation to the inputs, nor passed those augmented inputs to the preprocess layer. Might want to check that. And can you please delete the screenshot with your code after this is fixed? Thanks!

1 Like

Thank you for the advice.

I’m trying to fix the issue but because its a “prefetchdataset” nothing seems to work. I can’t treat it as a tensor. Nor can I convert it to a tensor

Oh have you changed any code yet? I don’t think you should worry about converting it to a tensor for this.


I’ve been stuck at this problem for a while and have no idea what I need to try different anymore