Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import pb with config #10

Open
GaranceRichard opened this issue Sep 2, 2019 · 1 comment
Open

import pb with config #10

GaranceRichard opened this issue Sep 2, 2019 · 1 comment

Comments

@GaranceRichard
Copy link

GaranceRichard commented Sep 2, 2019

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'

@GaranceRichard
Copy link
Author

I suggest :
9 from capsule.config import cfg

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

No branches or pull requests

1 participant