ErrLookup › huggingface/pytorch-image-models
huggingface/pytorch-image-models
The largest collection of PyTorch image encoders / backbones. Including train, eval, inference, export scripts, and pretrained weights -- ResNet, ResNeXT, EfficientNet, NFNet, Vision Transformer (ViT), MobileNetV4, MobileNet-V3 & V2, RegNet, DPN, CSPNet, Swin Transformer, MaxViT, CoAtNet, ConvNeXt, and more · Python · 301 source files
Analyzed at 9a5261e31b on 2026-08-27. 114 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Model architecture ( ) has no pretrained cfg registered. | exception | error | timm, model-registry, pretrained, config |
| Rank : Ran out of samples ( / ) before processing entire… | console | warning | naflex, distributed, schedule-mismatch, timm |
| Rank : Number of indices for this rank ( ) does not match… | console | warning | naflex, distributed, epoch-schedule, timm |
| Calculated batch size <= 0 | console | warning | naflex, batch-schedule, defensive-check, timm |
| Rank : Canonical schedule accounts for samples, but… | console | warning | naflex, batch-schedule, distributed, timm |
| You have provided a batch norm layer as the `root module`… | exception | error | batchnorm, freezing, fine-tuning, timm |
| output_fmt='NCHW' requires a raw image (B, C, H, W) input. | exception | error | timm, gemma4-vit, feature-extraction, tensor-shape |
| patch_coord is required for pre-patchified input. | exception | error | timm, gemma4-vit, patch-coordinates, missing-argument |
| Memory Efficient not supported in JIT | exception | error | timm, densenet, torchscript, gradient-checkpointing |
| No node names found matching | exception | error | attention-extraction, fx-graph, name-matching, timm |
| Image size ( , ) must be divisible by (patch_size *… | exception | error | timm, gemma4-vit, image-size, pooling, validation |
| Invalid net configuration | validation | error | timm, selecsls, variant, config |
| Cannot pool tokens with k= : N must be divisible by k^2= … | exception | error | timm, gemma4-vit, pooling, image-size |
| Gemma4VitEncoder does not support classification use cases. | exception | error | timm, gemma4-vit, encoder-only, unsupported-operation |
| Token mixer type: not supported | exception | error | timm, fastvit, architecture, validation |
| This version of pytorch does not have… | console | warning | attention, pytorch-version, feature-detection, timm |
| Rank : Assigned samples to batches, but expected effective… | console | warning | naflex, distributed, schedule-mismatch, timm |
| No full scheduled batch fits the sampler; reduce the batch… | validation | error | timm, sampler, batch-size, dataset-size |
| mean is more than 2 std from [a, b] in… | console | warning | weight-init, trunc-normal, statistics, timm |
| DropBlock2d() got unexpected keyword argument | console | warning | dropblock, deprecated-args, kwargs, timm |
| Overwriting in registry with . . This is because the name… | console | warning | timm, registry, duplicate, model-registration |
| Invalid class map file, expected a dict | validation | error | timm, class-map, pickle, dataset |
| Preset ' ' is empty or invalid | validation | error | timm, muon-optimizer, preset-validation, valueerror |
| Transform returned None for index | console | warning | naflex, transforms, robust-loading, timm |
| It is highly recommended to have 'opt_einsum' installed for… | console | warning | timm, optimizer, kron, performance, einsum |
| features_only not implemented for Vision Transformer models. | exception | error | timm, crossvit, features-only, unsupported-operation |
| MobileNetV5Encoder does not support classification use… | exception | error | timm, mobilenetv5, encoder-only, unsupported-operation |
| Unsupported distill_type | validation | error | distillation, config-validation, valueerror, timm |
| Final scale randomization | console | warning | naflex, transforms, max-seq-len, timm |
| Importing from is deprecated, please import via timm.optim | console | warning | timm, deprecation, import, optimizer-factory |
| Invalid beta parameter at index 0 | validation | error | optimizer, adamw, hyperparameters, validation |
| Invalid local_mbconv_norm= | exception | error | timm, cpubone, validation, constructor |
| IndexError encountered for index | console | warning | naflex, index-error, padding, timm |
| Invalid or corrupt tar info cache file | validation | error | timm, tar-dataset, cache-corruption |
| range reversed. Swapping. | console | warning | naflex, transforms, range-validation, timm |
| final_scale_range values should ideally be between 0.0 and… | console | warning | naflex, transforms, scale-range, timm |
| Input image must have positive dimensions, got H= | validation | error | timm, transforms, image-size, validation |
| features_only not implemented for ConvMixer models. | exception | error | timm, convmixer, features-only, unsupported-operation |
| Dataset length is unknown, please pass `num_samples`… | validation | error | timm, huggingface, dataset, num-samples |
| Invalid beta parameter at index 1 | validation | error | optimizer, adamw, hyperparameters, validation |
| num_branches( ) <> num_blocks( ) | exception | error | timm, hrnet, architecture, config-mismatch |
| adamw_lr is not supported with tensor lr; use… | validation | error | optimizer, muon, deprecation, tensor-lr |
| lr as a Tensor is not supported for capturable=False and… | validation | error | optimizer, adopt, tensor-lr, foreach, capturable |
| No module names found matching | exception | error | attention-extraction, module-names, hooks, timm |
| Expected input ndim in (3, 4, 5); got | exception | error | timm, gemma4-vit, tensor-shape, input-validation |
| Importing from is deprecated, please import via timm.models | console | warning | timm, deprecation, import, futurewarning |
| `requires_grad` is not supported for `step` in… | validation | error | optimizer, adopt, differentiable, autograd, meta-learning |
| range should be of kind (min, max) | console | warning | transforms, range-validation, augmentation, timm |
| Patch interpolation is not supported by this embedding… | exception | error | timm, naflexvit, patch-embed, runtime-check |
| Unsupported model | exception | error | timm, mvitv2, constructor, unsupported-operation |
| Cannot initialize position embeddings without… | validation | error | timm, naflexvit, pos-embed, config |
| Error processing sample index | console | warning | dataset, robust-loading, naflex, timm |
| The output channel is different from the input channel . | validation | error | timm, sequencer, shape-mismatch, config |
| AdamW does not support sparse gradients | validation | error | optimizer, adamw, sparse-gradients, embedding |
| Unsupported patch embedding rank in | validation | error | timm, vit, checkpoint, jax |
| Mapping deprecated model name | console | info | timm, deprecation, model-name, migration |
| NaFlex forward_intermediates with active patch dropout… | validation | error | timm, naflexvit, patch-dropout, features |
| API has changed, `state_steps` argument must contain a list… | validation | error | optimizer, adamw, functional-api, pytorch-version |
| Cannot infer position grid from | validation | error | timm, vit, checkpoint, pos-embed |
| CSATv2 is designed for 3-channel RGB input. in_chans= | console | warning | timm, csatv2, in-chans, input-shape |
| Coefficients must be a preset name (str), a 3-sequence… | validation | error | timm, muon-optimizer, typeerror, argument-validation |
| Tensor must have at least 2 dimensions, got | validation | error | optimizer, muon, shape-validation, parameter-routing |
| Adam does not support sparse gradients, please consider… | exception | error | optimizer, mars, sparse-gradients |
| A progressive schedule requires at least two choices. | validation | error | timm, sampler, progressive-schedule, validation |
| Momentum must be in the range [0,1] | validation | error | optimizer, madgrad, momentum, hyperparameter-validation |
| Found 0 images in subfolders of | error_code | critical | timm, dataset, image-folder, no-samples |
| Invalid split definition, num_samples not specified in… | error_code | error | timm, webdataset, num-samples, training |
| Please provide `hook_fns` for each `hook_fn_locs`, their… | validation | error | hooks, argument-validation, timm |
| Unsupported position embedding shape in | validation | error | timm, vit, checkpoint, pos-embed |
| choice_weights and batch_sizes must have the same length. | validation | error | timm, sampler, choice-weights, validation |
| Importing from is deprecated, please import via timm.layers | console | warning | timm, deprecation, import, layers |
| Coefficient must be length-3 of real numbers, got | validation | error | optimizer, muon, newton-schulz, coefficients, validation |
| adamw_lr is deprecated, use fallback_lr_scale=adamw_lr/lr… | console | warning | timm, optimizer, muon, deprecation, api-change |
| weight_decay option is not compatible with sparse gradients | exception | error | optimizer, madgrad, sparse-gradients, weight-decay |
| Invalid | validation | error | timm, optimizer, hyperparameter, range-check |
| Item is not a sequence | validation | error | timm, muon-optimizer, typeerror, nesting |
| Invalid learning rate | validation | error | optimizer, adan, hyperparameters, validation |
| must be a scalar or scalar tensor. | validation | error | timm, optimizer, hyperparameter, type-error |
| output_fmt="NCHW" is not supported for NaFlex (dict)… | validation | error | timm, naflexvit, features, output-format |
| split not found in info ( ).keys()}) | error_code | error | timm, webdataset, split, info-json |
| Invalid algo: . Must be 'muon' or 'adamuon | validation | error | optimizer, muon, algo, enum-validation |
| momentum != 0 is not compatible with sparse gradients | exception | error | optimizer, madgrad, sparse-gradients, momentum |
| Patch embedding shape mismatch in | validation | error | timm, vit, checkpoint, shape-mismatch |
| ScheduledBatchSampler requires a sampler with a length. | validation | error | timm, sampler, pytorch, type-validation |
| Please install webdataset 0.2.x package `pip install… | error_code | error | timm, webdataset, missing-dependency, pip |
| RAdam does not support sparse gradients | exception | error | timm, radam, sparse-gradients, embedding |
| Weight decay must be non-negative | validation | error | optimizer, madgrad, weight-decay, hyperparameter-validation |
| All scheduled batch sizes must be positive integers. | validation | error | timm, sampler, batch-size, validation |
| Invalid beta parameter at index 2 | validation | error | optimizer, adan, hyperparameters, validation |
| Unknown rope_type | validation | error | timm, naflexvit, rope, config |
| RMSprop does not support sparse gradients | exception | error | timm, rmsprop-tf, sparse-gradients, embedding |
| Invalid conv_mode | validation | error | optimizer, muon, conv-mode, enum-validation |
| Invalid alpha value | validation | error | timm, rmsprop-tf, alpha, valueerror |
| Learning rate must be positive | validation | error | optimizer, madgrad, learning-rate, hyperparameter-validation |
| choice_schedule must be 'constant' or 'progressive'. | validation | error | timm, sampler, schedule, invalid-argument |
| num_batches must be a positive integer when specified. | validation | error | timm, sampler, num-batches, validation |
| schedule_epochs must be a positive integer for a… | validation | error | timm, sampler, schedule-epochs, validation |
| schedule_random_mix must be between 0 and 1. | validation | error | timm, sampler, random-mix, validation |
| Coefficient list cannot be empty | validation | error | timm, muon-optimizer, empty-list, valueerror |
| batch_sizes must contain at least one value. | validation | error | timm, sampler, batch-size, config |