WhitenBlackBox icon indicating copy to clipboard operation
WhitenBlackBox copied to clipboard

folder `util` missing

Open w3ntao opened this issue 6 years ago • 3 comments

Hi Seong, I'm trying to get your code running but did you forget to upload some utility file? I think the whole folder util is missing.

$ ./run.py Traceback (most recent call last): File "./run.py", line 9, in from mnist_nets.train_mnist_nets import main as build_mnist_nets File "src/mnist_nets/train_mnist_nets.py", line 9, in from mnist import training as mnist_train File "src/mnist_nets/mnist.py", line 9, in from imports.ResearchTools import * File "src/imports/ResearchTools.py", line 7, in from util.construct_controls import apply_explist ImportError: No module named util.construct_controls

w3ntao avatar Dec 21 '18 12:12 w3ntao

Hi WentaoZero,

The util package is in ResearchTools submodule. Did you recursively clone this repository?

git clone https://github.com/coallaoh/WhitenBlackBox.git --recursive

coallaoh avatar Jan 08 '19 09:01 coallaoh

Hi Seong,

Uh that was ... stupid. With recursively clone, now it's working!

But I couldn't download your pretrained MNIST-NET dataset, even from CISPA (Saarland campus).

Best, Wentao

w3ntao avatar Jan 28 '19 09:01 w3ntao

Since the download works for me, can you share the error message when you try

wget https://datasets.d2.mpi-inf.mpg.de/joon18iclr/MNIST-NET.tar.gz

? (assuming you're using linux machine)

coallaoh avatar Jan 31 '19 17:01 coallaoh