Skip to content

Use IPFS to download training data and upload the model to IPFS, it is useful in blockchain to save the bandwidth in network transfer.

Notifications You must be signed in to change notification settings

tkue521/110_YehYuCheng_PyTorch_with_IPFS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch_with_IPFS

Use IPFS to download training data and upload the model to IPFS, it is useful in blockchain to save the bandwidth in network transfer.

Prerequisite

My Enviroment

  • OS: Ubuntu 20.04
  • Python: 3.8.11
  • IPFS
    • Golang version: go1.14.4
    • go-ipfs version: 0.7.0
    • Repo version: 10

Install IPFS and run up.

Here is two way to install IPFS.

  • go-ipfs

  • use snap to install ipfs

    sudo snap install ipfs

How to use.

  • Run up IPFS server first.

    ipfs daemon
    

    my go-ipfs version: 0.7.0

  • Run main project.

    Download training data first.

    python3 train.py
    

Reference

About

Use IPFS to download training data and upload the model to IPFS, it is useful in blockchain to save the bandwidth in network transfer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.4%
  • Python 1.6%