Use IPFS to download training data and upload the model to IPFS, it is useful in blockchain to save the bandwidth in network transfer.
- OS: Ubuntu 20.04
- Python: 3.8.11
- IPFS
- Golang version: go1.14.4
- go-ipfs version: 0.7.0
- Repo version: 10
Here is two way to install IPFS.
-
use snap to install ipfs
sudo snap install ipfs
-
Run up IPFS server first.
ipfs daemon
my go-ipfs version: 0.7.0
-
Run main project.
Download training data first.
python3 train.py