yeeyang
Results
2
comments of
yeeyang
you can try: loss_semi_adv_value += loss_semi_adv.data.cpu().numpy().item()/args.lambda_semi_adv For newer version of PyTorch, this is better: loss_semi_adv_value += loss_semi_adv.item()/args.lambda_semi_adv
Hello! Encountering the same issue: 1. Get inverter ID with `api.device_list(plant_id)`, confirmed `deviceType='inverter'` 2. Using `deviceSn` from step one in `api.inverter_data` gives `{'msg': '501', 'success': False}`