Exemple #1
0
    opt.n_epochs = 30             # # of epochs without lr decay
    opt.n_epochs_decay = 30       # # of epochs with lr decay
    opt.lr_policy = 'linear'      # decay policy.  Availability:  see options/train_options.py
    opt.beta1 = 0.5               # parameter for ADAM
    opt.lr = 5e-4

############################ Things recommanded to be changed ##########################################
# Set up the training procedure           
opt.C_channel = 12       
opt.SNR = 20

opt.is_feedback = False
opt.feedforward = 'EXPLICIT-RES'

opt.N_pilot = 2         # Number of pilots for chanenl estimation
opt.CE = 'MMSE'         # Channel Estimation Method
opt.EQ = 'MMSE'         # Equalization Method
opt.pilot = 'ZadoffChu'      # QPSK or ZadoffChu

opt.is_clip = False
opt.CR = 0 if not opt.is_clip else 1
opt.is_regu_PAPR = True
opt.lam_PAPR = 0.5
opt.is_regu_sigma = False
opt.lam_sigma = 100
##############################################################################################################

# Set up the loss function
opt.lambda_L2 = 128       # The weight for L2 loss
opt.is_Feat = False       # Whether to use feature matching loss or not
opt.lambda_feat = 1