vinthony / ghost-free-shadow-removal

[AAAI 2020] Towards Ghost-free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
https://arxiv.org/abs/1911.08718
297 stars 59 forks source link

what is this error #32

Closed tonystark3110 closed 3 years ago

tonystark3110 commented 3 years ago

1.usage: demo.py [-h] --model MODEL --vgg_19_path VGG_19_PATH [--input_dir INPUT_DIR] [--use_gpu USE_GPU] [--is_hyper IS_HYPER] [--result_dir RESULT_DIR] demo.py: error: the following arguments are required: --model, --vgg_19_path

2.train_sr and train_ss line 50 in both with tf.compat.v1.variable_scope(tf.compat.v1.get_variable()):
TypeError: get_variable() missing 1 required positional argument: 'name'

ps: i have manually changed this code to tensorflow v2