在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:cyclegan开源软件地址:https://gitee.com/TensorLayer/cyclegan开源软件介绍:The Simplest CycleGAN Full ImplementationUnpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks RequirementCheck the TODO
RunIt will automatically download the data in python3 train.py Distributed TrainingGAN-like networks are particularly challenging given that they often use multiple optimizers.In addition, GANs also consume a large amont of GPU memory and are usually batch-size sensitive. To speed up training, we thus use a novel KungFu distributed training library.KungFu is easy to install and run (compared to today's Horovod librarywhich depends on OpenMPI). You can install it using a few lines by followingthe instruction. KungFu is also very fast and scalable, comparedto Horovod and parameter servers, making it an attractive option for GAN networks. In the following, we assume that you have added (i) To run on a machine with 4 GPUs: kungfu-run -np 4 python3 train.py --parallel --kf-optimizer=sma The default KungFu optimizer is (ii) To run on 2 machines (which have the nic kungfu-run -np 8 -H 192.168.0.1:4,192.168.0.1:4 -nic eth0 python3 train.py --parallel --kf-optimizer=sma ResultsAuthor
DiscussionLicense
|
请发表评论