MachineLearning-DeepLearning-Code-for-my-YouTube-Channel icon indicating copy to clipboard operation
MachineLearning-DeepLearning-Code-for-my-YouTube-Channel copied to clipboard

Keyword arguments {'return_tensor': 'pt'} not recognized.

Open vistarsvo opened this issue 3 years ago • 2 comments

Hi. When i try to use example from MachineLearning-DeepLearning-Code-for-my-YouTube-Channel in google colab after training model i've got next error: изображение

Also, when i try use 'tf' got another error изображение

vistarsvo avatar Oct 10 '22 18:10 vistarsvo

Facing exact issue.

MaazBinMusa avatar Oct 11 '22 17:10 MaazBinMusa

@vistarsvo I fixed the issue. It seems to be a typing mistake. use "return_tensors" instead of "return_tensor"

MaazBinMusa avatar Oct 11 '22 18:10 MaazBinMusa