seominseok0429 / Real-world-Anomaly-Detection-in-Surveillance-Videos-pytorch

Real-world Anomaly Detection in Surveillance Videos- pytorch Re-implementation
102 stars 24 forks source link

error on training 3 class normal,robbery and shooting #32

Open DNJ-JINI opened 2 months ago

DNJ-JINI commented 2 months ago

inputs = torch.cat([anomaly_inputs, normal_inputs], dim=1) RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 22 but got size 30 for tensor number 1 in the list.