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

question for disjoint #3

Open
yhgon opened this issue Feb 5, 2019 · 0 comments
Open

question for disjoint #3

yhgon opened this issue Feb 5, 2019 · 0 comments

Comments

@yhgon
Copy link

yhgon commented Feb 5, 2019

Dear @WuChenshen

I try to reproduce your works.
joint.py call load function from tflib/mnist_disjoint.py and tflib/svhn_disjoint.pybut this repository don't include it. so python joint.py --dataset mnist --result_path mnist_joint/ got error as below

  File "joint.py", line 170, in <module>
    train_gen, dev_gen, _ = lib.mnist_disjoint.load(BATCH_SIZE, all_classes, data_dir = DATASET_DIR)
AttributeError: 'module' object has no attribute 'mnist_disjoint'

I found mnst.py file have disjoint_mnst subroutine and mnist.load also return result of l disjoint_mnist. So I replace lib.mnist.load instead of lib.mnist_disjoint.load It works but I'm not sure it's your original intention or not. Plz confirm it.

moreover, joint.py don't have option for other dataset such as LSUN. and tflib/lsun.py don't have def of disjoint_lsun not same as mnist.py or svhn.py. if you try disjoin for lsun dataset, plz comment on it.

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