remove unuse print

This commit is contained in:
colin 2020-07-23 17:07:18 +08:00
parent 7a3dfde615
commit 7e3d3bab6f
1 changed files with 0 additions and 18 deletions

View File

@ -300,26 +300,8 @@ for batch_idx, (data, target) in enumerate(val_loader):
currentbyte,binaryfile,strg = genData("verify_input", data, currentbyte, binaryfile, strg) currentbyte,binaryfile,strg = genData("verify_input", data, currentbyte, binaryfile, strg)
x = resnet50.conv1(data) x = resnet50.conv1(data)
currentbyte,binaryfile,strg = genData("verify_conv1", x, currentbyte, binaryfile, strg) currentbyte,binaryfile,strg = genData("verify_conv1", x, currentbyte, binaryfile, strg)
print("bias")
print(resnet50.bn1.bias.data)
print("weight")
print(resnet50.bn1.weight.data)
print("mean")
print(resnet50.bn1.running_mean.data)
print("var")
print(resnet50.bn1.running_var.data)
print("input")
print(x)
x = resnet50.bn1(x) x = resnet50.bn1(x)
currentbyte,binaryfile,strg = genData("verify_bn1", x, currentbyte, binaryfile, strg) currentbyte,binaryfile,strg = genData("verify_bn1", x, currentbyte, binaryfile, strg)
print("output")
print(x)
x = resnet50.relu(x) x = resnet50.relu(x)
currentbyte,binaryfile,strg = genData("verify_relu", x, currentbyte, binaryfile, strg) currentbyte,binaryfile,strg = genData("verify_relu", x, currentbyte, binaryfile, strg)
x = resnet50.maxpool(x) x = resnet50.maxpool(x)