mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 09:44:28 +00:00
Implement BasicConv2d test
This commit is contained in:
@@ -2,7 +2,7 @@ import torchvision
|
||||
import sys
|
||||
|
||||
sys.path.append("../../tools") # Ugly hack
|
||||
from utils import export_model_weights, print_model_parameters
|
||||
from utils import export_model_weights, print_model_parameters, predict
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
@@ -11,5 +11,7 @@ if __name__ == "__main__":
|
||||
)
|
||||
inception.eval()
|
||||
|
||||
print_model_parameters(inception) # print layer names and number of parameters
|
||||
# print_model_parameters(inception) # print layer names and number of parameters
|
||||
export_model_weights(inception, "inception_v3_weights.bin")
|
||||
|
||||
# print(predict(inception, "bird.jpg"))
|
||||
Reference in New Issue
Block a user