remove unuse print
This commit is contained in:
parent
7a3dfde615
commit
7e3d3bab6f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue