Risponderemo a tutte le tue domande!

Nessun modulo chiamato "torcia".

Errore:

ModuleNotFoundError                       Traceback (most recent call last)
 in 
     14 import matplotlib.pyplot as plt
     15 
---> 16 import torch
     17 import torch.nn as nn
     18 import torch.optim as optim
ModuleNotFoundError: No module named 'torch'

Come risolvere

pip3 install torch torchvision

Vedi anche: https://pytorch.org/get-started/locally/



Aggiornato: 18.03.2025

Pubblicato: 10.01.2020


Hai altre domande? Scrivici!

By clicking «I Accept» you confirm that you have read and accepted the website Terms and Conditions, Privacy Policy, and Moneyback Policy.