Skip to content

Commit a1fae99

Browse files
author
Virginia Fernandez
committed
Removal of Warnings.
Signed-off-by: Virginia <[email protected]>
1 parent 430ed5d commit a1fae99

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

generation/classifier_free_guidance/2d_ddpm_classifier_free_guidance_tutorial.ipynb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -366,20 +366,6 @@
366366
}
367367
},
368368
"outputs": [
369-
{
370-
"name": "stderr",
371-
"output_type": "stream",
372-
"text": [
373-
"/tmp/ipykernel_4172533/2226485125.py:15: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).\n",
374-
" transforms.Lambdad(keys=[\"class\"], func=lambda x: torch.tensor(x, dtype=torch.float32).unsqueeze(0).unsqueeze(0)),\n",
375-
"/tmp/ipykernel_4172533/2226485125.py:15: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).\n",
376-
" transforms.Lambdad(keys=[\"class\"], func=lambda x: torch.tensor(x, dtype=torch.float32).unsqueeze(0).unsqueeze(0)),\n",
377-
"/tmp/ipykernel_4172533/2226485125.py:15: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).\n",
378-
" transforms.Lambdad(keys=[\"class\"], func=lambda x: torch.tensor(x, dtype=torch.float32).unsqueeze(0).unsqueeze(0)),\n",
379-
"/tmp/ipykernel_4172533/2226485125.py:15: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).\n",
380-
" transforms.Lambdad(keys=[\"class\"], func=lambda x: torch.tensor(x, dtype=torch.float32).unsqueeze(0).unsqueeze(0)),\n"
381-
]
382-
},
383369
{
384370
"name": "stdout",
385371
"output_type": "stream",

0 commit comments

Comments
 (0)