Mikask commited on
Commit
2cc4e2c
·
verified ·
1 Parent(s): 90b7d9b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -0
README.md CHANGED
@@ -38,6 +38,10 @@ checkpoint = torch.load(checkpoint_path)
38
  model.load_state_dict(checkpoint['model_state_dict'])
39
 
40
  print(f"Validation Accuracy: {checkpoint["val_accuracy"]:.2f}")
 
 
 
 
41
  ```
42
 
43
  ## Training Details
 
38
  model.load_state_dict(checkpoint['model_state_dict'])
39
 
40
  print(f"Validation Accuracy: {checkpoint["val_accuracy"]:.2f}")
41
+
42
+ input_data = torch.randn(1, 1, 28, 28)
43
+ results = model.predict(input_data.to(device))
44
+ print("Results:", results)
45
  ```
46
 
47
  ## Training Details