Merge branch 'main' of github.com:sisl/InteractionImitation

This commit is contained in:
Johannes Fischer
2021-08-02 11:08:35 +02:00
4 changed files with 45 additions and 30 deletions

View File

@@ -58,8 +58,6 @@ def visualize_distribution(true, pred, filestr):
"""
nni1 = ~torch.isnan(true)
nni2 = ~torch.isnan(pred)
import pdb
pdb.set_trace()
plt.figure()
plt.hist(true[nni1].numpy(), density=True, bins=20)
plt.hist(pred[nni2].numpy(), density=True, bins=20)