It was running for a while and then stops at the same error, I do found a warning that several of these functions are going to be deprecated only when I run them together as one block of code like you just wrote:
1. FutureWarning: 'cached_download' (from 'huggingface_hub.file_download') is deprecated and will be removed from version '0.26'. Use `hf_hub_download` instead.
warnings.warn(warning_message, FutureWarning)
2. FutureWarning: 'cached_download' is the legacy way to download files from the HF hub, please consider upgrading to 'hf_hub_download'
warnings.warn(
3. FutureWarning: 'url_to_filename' (from 'huggingface_hub.file_download') is deprecated and will be removed from version '0.26'. Use `hf_hub_download` to benefit from the new cache layout.
warnings.warn(warning_message, FutureWarning)
If separate them, the warning is only for
FutureWarning:
evaluation_strategy
is deprecated and will be removed in version 4.46 ofTransformers. Use
eval_strategy
warnings.warn(
instead.
Then it came back to the same error, let me copy it for comparison
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\Lenovo\.cache\huggingface\datasets\downloads\extracted\b557ce52f22c65030869d849d199d7b3fd5af18b335143729c717d29f6221baa\ADEChallengeData2016\annotations\training\ADE_train_00000024.png’
Currently debugging it as I can… hmmm. It still had to be something with the data downloading. Let me check the documentation first.