Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

ModuleNotFoundError: No module named 'models' #150

Open
AnkS4 opened this issue Oct 11, 2021 · 1 comment
Open

ModuleNotFoundError: No module named 'models' #150

AnkS4 opened this issue Oct 11, 2021 · 1 comment

Comments

@AnkS4
Copy link

AnkS4 commented Oct 11, 2021

Getting this error on Google colab.

Both torch & torchvision seem to be preinstalled.

!pip install torchvision
returns

Requirement already satisfied: torchvision
Requirement already satisfied: torch
.........
import torch
from models import InferSent
@Suzansb
Copy link

Suzansb commented Oct 21, 2022

You can use tensorflow and solve this problem

import tensorflow as tf 
from tensorflow.keras.models import Model

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants