Skip to content

JakeKalstad/load_ipfs_pytorch_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

PyTorch load IPFS model

See the jupyter notepad for how it works

You need to be running a local IPFS daemon (ipfs daemon) or passing a valid IPFS url

    model = load_state_dict_from_ipfs('a-models-cid-goes-here', model_dir="./my-models", file_name="some-fancy-model.pth")
    print(model)

About

Loading a pytorch model from an IPFS CID

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published