hmm so when i rewrote how i was putting the weights into the network it started working. however, I’m not actually sure why the previous method didn’t work. I’ve pasted both methods into a gist if you wouldn’t mind taking a look

  

      gist.github.com
  

  
    https://gist.github.com/priceluke/3086ebb7c2e286eb74d52608bf8c8526 4

  weights into network
  def my_weights_into_network(network, weights):
    # # hidden1 = 6,2
    # # hidden1.bias 6,
    # # hidden2 = 6,6
    # # hidden2.bias = 6,
    # # out = 1,6
    # # out.bias = 1,
    weights = np.asarray(weights)

    # print(torch.nn.Parameter(torch.from_numpy(weights.reshape(6, 2))))
    This file has been truncated. show original