Implementation of Transfer Learning Using HE
-
Check if PyTorch is already installed: If not, install it.
pip install torch torchvision torchaudio
-
Install additional required packages:
pip install timm pip install setproctitle
If you intend to run the implementation across multiple nodes, you need to prepare an IP list file.
-
Create an IP list file (
./ip_list
): This file should contain the IP addresses of all nodes involved in the computation, starting with the master node's IP followed by the IP addresses of slave nodes. The file format should be like:master_ip slave1_ip ...
If you need to access the A6000 server (192.168.10.16) without a password:
-
Set up login by public key from the master node to the CSE gateway (137.99.0.102).
-
Configure passwordless SSH to the A6000 server:
ssh-copy-id -o ProxyJump=xix22010@137.99.0.102 xix22010@192.168.10.16