Hey, I’m trying to use BatchNorm1d in a simple neural network of a bunch of fully connected layers with a 1-dimensional input. My code is similar to the code in the tutorials, but it doesn’t run for some reason. I get the following error:
RuntimeError: running_mean should contain 1 elements not 32
Searching around for related terms hasn’t turned up much. When I try setting track_running_stats to false in the declaration, I get the error that track_running_stats isn’t a valid setting. I’m pretty confused and would appreciate some help.
Pictures of my code:
            
              
                
                  
                    [Album] Imgur
                  
                
                
               192
            

Thanks!