Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load_state_dict does not return the model #1503

Merged
merged 11 commits into from
Feb 6, 2024

Commits on Jan 3, 2024

  1. Update pretrained_weights.ipynb

    Fixed an error in the state dict loading of the turorial and added a comment on the num_classes parameter when creating timm models.
    konstantinklemmer authored and isaaccorley committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    7cd3f61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f976cf View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Configuration menu
    Copy the full SHA
    46a8756 View commit details
    Browse the repository at this point in the history
  2. Update utils.py

    * Import Tuple from typing
    * Change return of `load_state_dict` from `model` to `Tuple[List[str], List[str]]`, matching the return of the standard PyTorch builtin function.
    konstantinklemmer committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    392b305 View commit details
    Browse the repository at this point in the history
  3. Update pretrained_weights.ipynb

    Remove example of loading pretrained model without prediction head (`num_classes=0`).
    konstantinklemmer committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    46afcd7 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    Adapt new `load_state_dict` function.
    konstantinklemmer committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    2324488 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    53885dc View commit details
    Browse the repository at this point in the history
  2. Modern type hints

    adamjstewart committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    fd19ab1 View commit details
    Browse the repository at this point in the history
  3. Blacken

    adamjstewart committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    35b914c View commit details
    Browse the repository at this point in the history
  4. Try being explicit

    adamjstewart committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    b5a9007 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Configuration menu
    Copy the full SHA
    f952bab View commit details
    Browse the repository at this point in the history