yuanming-hu / exposure

Learning infinite-resolution image processing with GAN and RL from unpaired image datasets, using a differentiable photo editing model.
MIT License
764 stars 155 forks source link

how to train it in supervised version #40

Closed sykxiaoqiang closed 5 years ago

sykxiaoqiang commented 5 years ago

When i change 'cfg.supervised' , it makes mistakes. Traceback (most recent call last): File "train.py", line 18, in main() File "train.py", line 14, in main net.train() File "/home/syk/exposure/net.py", line 373, in train run_metadata=run_metadata) File "/home/syk/anaconda3/envs/tensorflow/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 889, in run run_metadata_ptr) File "/home/syk/anaconda3/envs/tensorflow/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1096, in _run % (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape()))) ValueError: Cannot feed value of shape (64, 64, 3) for Tensor 'fake_input:0', which has shape '(?, 64, 64, 3)'

yuanming-hu commented 5 years ago

I don't think the supervised version works anymore...