90a753c9d419597530ae36aebc10653e4ea15f1d,examples/contrib/cifar10_qat/main.py,,training,#Any#Any#,20
Before Change
if rank == 0:
now = datetime.now().strftime("%Y%m%d-%H%M%S")
folder_name = "{}_backend-{}-{}_{}".format(config["model"], idist.backend(), idist.get_world_size(), now)
output_path = Path(output_path) / folder_name
if not output_path.exists():
output_path.mkdir(parents=True)
config["output_path"] = output_path.as_posix()
After Change
if "cuda" in device.type:
config["cuda device name"] = torch.cuda.get_device_name(local_rank)
if config["with_clearml"] :
try:
from clearml import Task
except ImportError:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: pytorch/ignite
Commit Name: 90a753c9d419597530ae36aebc10653e4ea15f1d
Time: 2021-02-11
Author: vfdev.5@gmail.com
File Name: examples/contrib/cifar10_qat/main.py
Class Name:
Method Name: training
Project Name: deepinsight/insightface
Commit Name: 0cc88e2a2449973e77dbdd417c9ec97ef03940b9
Time: 2021-03-21
Author: anxiangsir@outlook.com
File Name: recognition/arcface_torch/train.py
Class Name:
Method Name: main
Project Name: xinntao/BasicSR
Commit Name: 06fb33acf5d138615c8c3153ee5872550d3197ca
Time: 2020-08-19
Author: wxt1994@126.com
File Name: basicsr/models/base_model.py
Class Name: BaseModel
Method Name: reduce_loss_dict