Open GaranceRichard opened 5 years ago
from capsule.config import cfg from capsule.utils import load_mnist from capsule.capsNet import CapsNet
import os import tensorflow as tf from tqdm import tqdm
return : ModuleNotFoundError Traceback (most recent call last) /content/capsule/capsNet.py in () 7 import tensorflow as tf 8 ----> 9 from config import cfg 10 from utils import get_batch_data 11 from capsLayer import CapsLayer
ModuleNotFoundError: No module named 'config'
I suggest : 9 from capsule.config import cfg
from capsule.config import cfg from capsule.utils import load_mnist from capsule.capsNet import CapsNet
import os import tensorflow as tf from tqdm import tqdm
return : ModuleNotFoundError Traceback (most recent call last) /content/capsule/capsNet.py in()
7 import tensorflow as tf
8
----> 9 from config import cfg
10 from utils import get_batch_data
11 from capsLayer import CapsLayer
ModuleNotFoundError: No module named 'config'