NielsRogge / Transformers-Tutorials

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

Linear probing with ImageGPT: Attribute Error pixel_values #438

Open AasherH opened 5 months ago

AasherH commented 5 months 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.