- 博客(8)
- 资源 (11)
- 收藏
- 关注
原创 graphviz 报错:FileNotFoundError: [WinError 2] 系统找不到指定的文件。
graphviz 报错:FileNotFoundError: [WinError 2] 系统找不到指定的文件。如题。使用graphviz可视化决策树,报如图错误:虽然graphviz可执行文件已经添加到系统变量PATH了,还是这样解决方法:在代码中加入:import osos.environ["PATH"] += os.pathsep + 'xxx'xxx是你机器上graphviz的bin文件夹的路径。据说重启电脑及IDE也可以解决问题,但我没试。...
2021-01-31 11:28:26 1400 4
原创 2019.11.35
2019.11.35def train(net, train_iter, loss, epochs, lr): trainer = torch.optim.Adam(net.parameters(), lr) for epoch in range(epochs): for X, y in train_iter: trainer.zero_grad() l = loss(net(X), y) l.back
2021-01-22 21:33:31 65060 1
原创 2019.11.34
2019.11.34import java.util.Scanner;public class book { public static void main(String[] args) { int sum=0; for(int i=0;i<args.length;i++) sum+=Integer.parseInt(args[i]); System.out.println("The sum is "+sum)
2021-01-21 23:06:42 9474
原创 2019.11.33
2019.11.33Before applyingKalman filtering, the false positives for the case of falls were60% of the total classified instances, and after applying Kalmanfiltering were minimized to 33%, respectively. For annotationpurposes, the three movement types we
2021-01-21 23:01:12 7746 1
原创 2019.11.32
2019.11.32b4 = nn.Sequential(Inception(480, 192, (96, 208), (16, 48), 64), Inception(512, 160, (112, 224), (24, 64), 64), Inception(512, 128, (128, 256), (24, 64), 64), Inception(512, 112, (144, 288
2021-01-21 15:37:27 7274
原创 2019.11.31
2019.11.31from d2l import torch as d2limport torchfrom torch import nndef vgg_block(num_convs, in_channels, out_channels): layers = [] for _ in range(num_convs): layers.append(nn.Conv2d(in_channels, out_channels,
2021-01-21 10:47:29 11835
原创 2019.11.30
2019.11.30from d2l import torch as d2limport torchfrom torch import nnclass Reshape(torch.nn.Module): def forward(self, x): return x.view(-1, 1, 28, 28)net = torch.nn.Sequential( Reshape(), nn.Conv2d(1, 6, kernel_size=5, padding=
2021-01-20 20:57:16 8486
原创 2019.11.29
2019.11.29def corr2d_multi_in_out_1x1(X, K): c_i, h, w = X.shape c_o = K.shape[0] X = X.reshape((c_i, h * w)) K = K.reshape((c_o, c_i)) Y = torch.matmul(K, X) # Matrix multiplication in the fully-connected layer
2021-01-20 11:44:38 4635 1
arcanist.zip
2020-05-04
php源代码,目前最新版
2020-05-03
dafny-2.3.0.10506-x64-win.zip
2020-05-03
hsqldb-2.5.0.zip
2020-02-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人