Transformers-Tutorials icon indicating copy to clipboard operation
Transformers-Tutorials copied to clipboard

Linear probing with ImageGPT: Attribute Error pixel_values

Open AasherH opened this issue 1 year ago • 0 comments

Hi, I was following the tutorial script "Linear probing with ImageGPT" but it fails due to an attribution error on the line: pixel_values = encoding.pixel_values.to(device) I was wondering if anyone has found a work around? It appears ".pixel_values" is not available in ImageGPTFeatureExtractor.

AasherH avatar Jun 17 '24 14:06 AasherH