Closed thanhthanhhp123 closed 11 months ago
@thanhthanhhp123
How can I generate anomaly map after training? Even after you share Test.py it does not work :
from simplenet import SimpleNet import torch
empty_image = torch.empty((224, 224, 3)) # Replace height, width, and channels with your actual values
empty_image = empty_image.permute(2, 0, 1) # Adjust the permutation based on your model's input requirements
s = SimpleNet(device='cuda')
s.predict(empty_image)
How can I generate anomaly map after training?