Skip to content

How to add a new model ? #278

Discussion options

You must be logged in to vote

Hi @Coderx7 ,

It seems you edited files under torchdistill/ in this repo. Note that torchdistill is available as a PyPI package and installable (pip install torchdistill), and I'm currently working on next release and editing files under torchdistill/.
For this reason, I suggest you do not edit torchdistill/ to add new modules, but instead it is designed to add new modules by registry function like you did (almost there, but you edited torchdistill/ files)

  1. Uninstall torchdistill pip uninstall torchdistill if you installed the local torchdistill instead of one available at PyPI
  2. Reinstall torchdistill via PyPI pip install torchdistill
  3. Create a Python file somewhere under examples/ (say exa…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lansiyuan3
Comment options

Answer selected by Coderx7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants