NielsRogge / Transformers-Tutorials

This repository contains demos I made with the Transformers library by HuggingFace.
MIT License
8.42k stars 1.32k forks source link

Linear probing with ImageGPT: Attribute Error pixel_values #438

Open AasherH opened 1 week ago

AasherH commented 1 week ago

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.