资源预览内容
第1页 / 共28页
第2页 / 共28页
第3页 / 共28页
第4页 / 共28页
第5页 / 共28页
第6页 / 共28页
第7页 / 共28页
第8页 / 共28页
第9页 / 共28页
第10页 / 共28页
亲,该文档总共28页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
1 title Some Tips for Experiments 2 titleContents Why When to Conduct Experiments 1 Experiment Design2 Coding Tips Tricks3 Result Management 4 What If It Does Not Work 5 3 titleContents Why When to Conduct Experiments 1 Experiment Design2 Coding Tips Tricks3 Result Management 4 What If It Does Not Work 5 4 titleWhy When to Conduct Experiments experiment design coding training testing idea Why experiment Validate the idea 5 titleWhy When to Conduct Experiments experiment design coding training testing idea draft When experiment Think about it deeply 6 titleContents Why When to Conduct Experiments 1 Experiment Design2 Coding Tips Tricks3 Result Management 4 What If It Does Not Work 5 7 titleExperiment Design Something to Consider 1 What kind of task 2 Any existing baselines 3 What kind of model 4 How many layers and channels 5 Which data set 6 Value of hyperparameters 7 Ablation study 8 titleExperiment Design 1 What kind of task do we consider Image classification Dog Bird Bear Cat Object detection Semantic segmentationImage generation 9 titleExperiment Design 2 Is there any existing baseline Download the code Run and read it 10 titleExperiment Design 3 What kind of model should we use Input image Feature maps AlexNet VGG ResNet MobileNet etc Is there any constraint e g Params FLOPs Feature maps 11 titleExperiment Design 4 How many layers and channels should be considered 1 32 layers 128 filters 2 56 layers 64 filters 3 101 layers 48 filters different settings Try more settings 12 titleExperiment Design 5 Which data set should be considered Data sets CIFAR SVHN ImageNet CelebA etc Data Set Training Samples Testing Samples CIFAR50 00010 000 SVHN604 36826 032 ImageNet1 28 million50 000 Varying sizes Varying Resolutions 28x28 32x32 256x256 1024x1024 etc 13 titleExperiment Design 6 How to choose the value of hyperparameters 1 0 1 0 01 0 001 etc 14 titleExperiment Design 7 How to design ablation study xxx model with vs without xxx module 15 titleContents 15 Why When to Conduct Experiments 1 Experiment Design2 Coding Tips Tricks3 Result Management 4 What If It Does Not Work 5 16 titleCoding Tips Tricks Clear Coding Structure Experiment Option Checkpoint Data loader Model Optimizer Logger 17 titleCoding Tips Tricks Write Useful Comments 18 titleCoding Tips Tricks Use Meaningful Names Use meaningful names for different functional coding files e g train gan py training with adversarial loss train L1 py training with L1 loss train mse py training with mean squared loss 19 titleCoding Tips Tricks Use Version Control Software Branch managementCommit history 20 titleCoding Tips Tricks Summary More Coding Tips 1 Clear coding structure 2 Write useful comments 3 Use meaningful names 4 Use version control software 5 Write code documents or readme file 6 Write test code 7 Use pdb log to debug 21 titleContents 21 Why When to Conduct Experiments 1 Experiment Design2 Coding Tips Tricks3 Result Management 4 What If It Does Not Work 5 22 titleResult Management Data SetTraining Time CIFAR5 10 h SVHN15 20 h ImageNet3d Save Checkpoints High training cost necessary to save checkpoints Name the file according to the settings save log training error testing error loss save model models at each epoch the best model 23 titleResult Management Visualization Tools Visdom TensorBoard 24 titleResult Management Result Management Save and manage your results different settings 25 titleResult Management Result Management Get something from your results 26 titleContents 26 Why When to Conduct Experiments 1 Experiment Design2 Coding Tips Tricks3 Result Management 4 What If It Does Not Work 5 27 titleWhat If It Does Not Work Check your code and training settings 90 cases Data processing Flip crop normalize etc Optimizer SGD vs Adam momentum weight decay etc Loss eps differentiable some coefficient etc Use the debug tool pdb 28 title Thanks
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号