code: def loss_gadv(fake_logits):
      loss_func = torch.nn.BCEWithLogitsLoss().cuda()
      fake_one = torch.ones_like(fake_logits).cuda()
      loss_g = loss_func(fake_logits, fake_one)
      # loss_g = loss_func(fake_one, fake_logits)
      return loss_g
  
file_path: insightface/body/human_pose/ambiguity_aware/lib/core/loss.py
imports: import torch
  from torch.nn import functional
  import numpy
  import torch.nn
  import math
label_desc: Use image node_id 5 for calling a global function with example usage: loss_gadv(fake_logits) and returns: loss_g