mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Fix missing predict argument
This commit is contained in:
@@ -34,5 +34,5 @@ if __name__ == "__main__":
|
||||
alexnet = torchvision.models.alexnet(weights=torchvision.models.AlexNet_Weights.DEFAULT)
|
||||
print_model_parameters(alexnet) # print layer names and number of parameters
|
||||
export_model_weights(alexnet, 'alexnet_weights.bin')
|
||||
# predict('cat.jpg')
|
||||
# predict(alexnet, 'cat.jpg')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user