rbm.py line 44 all_hidden_states should not be called line98 / 108-133 of tutorial4_train_ising2d.py plotting will fail