'No module named 'model'
import numpy as np
import random
import json
import torch
import torch.nn as nn
from torch.utils.data import Dataset, DataLoader
from nltk_utils import bag_of_words, tokenize, stem
from model import NeuralNet
i keep trying to pip install NeuralNet but I keep getting
ModuleNotFoundError: No module named 'model'
I have Neuralnet successfully installed on my pc, and I have have tried what you said I should try and its still not working, can I send you the project on linkedin so you would check it out
Solution 1:[1]
I think you are supposed to import neuralnet by itself:
import neuralnet
or import model from neuralnet:
from neuralnet import model
Since model seems to be a part of the NeuralNet module rather than the other way around.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
