import os
import os.path
import torchvision
import torch
from torch import nn
from torch.autograd import Variable
from torch.utils.data import DataLoader
from torch.utils.data.dataloader import default_collate

def showGod():
    print("""
                                _ooOoo_
                               o8888888o
                               88" . "88
                               (| -_- |)
                               O\  =  /O
                            ____/`---'\____
                          .'  \\|     |//  `.
                         /  \\|||  :  |||//  \\
                        /  _||||| -:- |||||- \\
                        |   | \\\  -  /// |   |
                        | \_|  ''\---/''  |   |
                        \  .-\__  `-`  ___/-. /
                      ___`. .'  /--.--\  `. . __
                   ."" '<  `.___\_<|>_/___.'  >'"".
                  | | :  `- \`.;`\ _ /`;.`/ - ` : | |
                  \  \ `-.   \_ __\ /__ _/   .-` /  /
             ======`-.____`-.___\_____/___.-`____.-'======
                                `=---='
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        GOD BLESS ME, NEVER GET BUG
                         1. check the image size
                         2. optimizer zero grad
                         3. test/eval model.eval()
                         4. pretrained resnet is for imagenet,kernel=7
    """)

import os
import os.path
import torchvision
import torch
from torch import nn
from torch.autograd import Variable
from torch.utils.data import DataLoader
from torch.utils.data.dataloader import default_collate

def showGod():
    print("""
                                _ooOoo_
                               o8888888o
                               88" . "88
                               (| -_- |)
                               O\  =  /O
                            ____/`---'\____
                          .'  \\|     |//  `.
                         /  \\|||  :  |||//  \\
                        /  _||||| -:- |||||- \\
                        |   | \\\  -  /// |   |
                        | \_|  ''\---/''  |   |
                        \  .-\__  `-`  ___/-. /
                      ___`. .'  /--.--\  `. . __
                   ."" '<  `.___\_<|>_/___.'  >'"".
                  | | :  `- \`.;`\ _ /`;.`/ - ` : | |
                  \  \ `-.   \_ __\ /__ _/   .-` /  /
             ======`-.____`-.___\_____/___.-`____.-'======
                                `=---='
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        GOD BLESS ME, NEVER GET BUG
                         1. check the image size
                         2. optimizer zero grad
                         3. test/eval model.eval()
                         4. pretrained resnet is for imagenet,kernel=7
    """)

_ooOoo_                                o8888888o                                88" . "88                                (| -_- |)                                O\  =  /O                             ____/`---'\____                           .'  \\|     |//  `.                          /  \\|||  :  |||//  \\                         /  _||||| -:- |||||- \\                         |   | \\\  -  /// |   |                         | \_|  ''\---/''  |   |                         \  .-\__  `-`  ___/-. /                       ___`. .'  /--.--\  `. . __                    ."" '<  `.___\_<|>_/___.'  >'"".                   | | :  `- \`.;`\ _ /`;.`/ - ` : | |                   \  \ `-.   \_ __\ /__ _/   .-` /  /              ======`-.____`-.___\_____/___.-`____.-'======                                 `=---='             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                         GOD BLESS ME, NEVER GET BUG                          1. check the image size                          2. optimizer zero grad                          3. test/eval model.eval()                          4. pretrained resnet is for imagenet,kernel=7