csgm
csgm copied to clipboard
Error in the code
here is the problem, when I run the demos, each returns
Traceback (most recent call last):
File "./src/compressed_sensing.py", line 177, in
why is it, thank you!
Did you download the dataset?
Dear author , when I run the instruction./quick_scripts/mnist_reconstr.sh
,I was also got the error like this ,how to solve it? Thank you very much!!
(/home/gamkiu/anaconda3/envs/test) gamkiu@ubuntu:~/csgm$ ./quick_scripts/mnist_reconstr.sh
batch_size = 10 checkpoint_iter = 1 dataset = mnist decay_lr = False dloss1_weight = 0.0 dloss2_weight = 0.0 gif = False gif_dir = gif_iter = 1 image_matrix = 1 image_shape = (28, 28, 1) inpaint_size = 1 input_path_pattern = ./data/celebAtest/*.jpg input_type = full-input lasso_solver = sklearn learning_rate = 0.01 lmbd = 0.1 max_update_iter = 1000 measurement_type = gaussian mloss1_weight = 0.0 mloss2_weight = 1.0 model_types = ['lasso', 'vae'] momentum = 0.9 n_input = 784 noise_std = 0.1 not_lazy = True num_input_images = 10 num_measurements = 100 num_random_restarts = 10 optimizer_type = adam pretrained_model_dir = ./mnist_vae/models/mnist-vae/ print_stats = True save_images = False save_stats = False sparsity = 1 superres_factor = 2 zprior_weight = 0.1
Extracting ./data/mnist/train-images-idx3-ubyte.gz
Traceback (most recent call last):
File "./src/compressed_sensing.py", line 177, in