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

Notebook 5 references "random_mask" which isn't available. #20

Open
moll-dev opened this issue Mar 23, 2019 · 1 comment
Open

Notebook 5 references "random_mask" which isn't available. #20

moll-dev opened this issue Mar 23, 2019 · 1 comment

Comments

@moll-dev
Copy link

moll-dev commented Mar 23, 2019

From Notebook 5, cell 2

if os.path.basename(os.getcwd()) != 'PConv-Keras':
    os.chdir('..')

from libs.pconv_model import PConvUnet
from libs.util import random_mask, ImageChunker

%load_ext autoreload
%autoreload 2

No such code is found.

I was able to get it to work by using MaskGenerator, I'm assuming you cleaned up the mask generation code then didn't update the notebook.

I'm working on PR

@ghost
Copy link

ghost commented Aug 20, 2019

From Notebook 5, cell 2

if os.path.basename(os.getcwd()) != 'PConv-Keras':
    os.chdir('..')

from libs.pconv_model import PConvUnet
from libs.util import random_mask, ImageChunker

%load_ext autoreload
%autoreload 2

No such code is found.

I was able to get it to work by using MaskGenerator, I'm assuming you cleaned up the mask generation code then didn't update the notebook.

I'm working on PR

Call the object "MaskGenerator" from external "util" module.
Then, use MaskGenerator(params)._generate_mask().

Best regards,

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