#2016 编译 Project 说明
任课老师:邱锡鹏
Project TA:陈丹露
提交地址为 ftp://by:by@10.141.200.2 。
| import math | |
| import torch | |
| import torch.nn as nn | |
| import torch.nn.functional as F | |
| class BasicBlock(nn.Module): | |
| def __init__(self, in_planes, out_planes, dropRate=0.0): | |
| super(BasicBlock, self).__init__() | |
| self.bn1 = nn.BatchNorm2d(in_planes) |
| import math | |
| import torch | |
| import torch.nn as nn | |
| import torch.nn.functional as F | |
| class BasicBlock(nn.Module): | |
| def __init__(self, in_planes, out_planes, dropRate=0.0): | |
| super(BasicBlock, self).__init__() | |
| self.bn1 = nn.BatchNorm2d(in_planes) |
| import math | |
| import torch | |
| import torch.nn as nn | |
| import torch.nn.functional as F | |
| class BasicBlock(nn.Module): | |
| def __init__(self, in_planes, out_planes, dropRate=0.0): | |
| super(BasicBlock, self).__init__() | |
| self.bn1 = nn.BatchNorm2d(in_planes) |
| -- | |
| -- Created by IntelliJ IDEA. | |
| -- User: taineleau | |
| -- Date: 10/7/16 | |
| -- Time: 10:16 | |
| -- To change this template use File | Settings | File Templates. | |
| -- | |
| local grad = require 'autograd' | |
| grad.optimize(true) |
| sudo apt-get -y install zsh git | |
| sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
| sudo chsh ubuntu -s /bin/zsh | |
| sudo apt-get update | |
| sudo apt-get -y install build-essential linux-image-extra-virtual axel | |
| sudo vim /etc/modprobe.d/blacklist-nouveau.conf |