Fixed 2nd device bug in teaser example

This commit is contained in:
N_T 2025-03-31 16:25:31 +02:00
parent cf13364482
commit 4919e7a429

View File

@ -662,7 +662,7 @@
"source": [
"# Results\n",
"plt.plot(X,Y,'.',label='Datapoints', color=\"lightgray\")\n",
"plt.plot(trajectory[-1][:,0].detach(),trajectory[-1][:,1].detach(),'.',label='Flow Matching', color=\"orange\") \n",
"plt.plot(trajectory[-1][:,0].detach().cpu(), trajectory[-1][:,1].detach().cpu(), '.',label='Flow Matching', color=\"orange\") \n",
"plt.xlabel('x')\n",
"plt.ylabel('y')\n",
"plt.title('Probabilistic Version')\n",