Open zhangyu2ustc opened 5 years ago
add averge_grad to class base_model
rewrite training function to include average_grad
to select the least loaded GPU for the script: check this repo: https://github.com/bamos/setGPU
add this line to your script: ''' import setGPU '''
add averge_grad to class base_model