Open rachidd12 opened 3 years ago
this occurs when i try to run !python {dir_path}/{NETWORK} {CONTENT_IMAGE_FN} {STYLE_IMAGE_FN} {RESULT_PREFIX} \ --image_size {IMAGE_SIZE} --content_weight {CONTENT_WEIGHT} --style_weight \ {STYLE_WEIGHT} --style_scale {STYLE_SCALE} --total_variation_weight \ {TOTAL_VARIATION_WEIGHT} --content_loss_type {CONTENT_LOSS_TYPE} --num_iter \ {NUM_ITERATIONS} --model {MODEL} --rescale_image {RESCALE_IMAGE} \ --maintain_aspect_ratio {MAINTAIN_ASPECT_RATIO} --content_layer {CONTENT_LAYER} \ --init_image {INITIALIZATION_IMAGE} --pool_type {POOLING_TYPE} --preserve_color \ {PRESERVE_COLOR} --min_improvement {MIN_IMPROVEMENT}
Facing the same run time error.
https://github.com/titu1994/Neural-Style-Transfer/issues/75 this solution work for me
this occurs when i try to run !python {dir_path}/{NETWORK} {CONTENT_IMAGE_FN} {STYLE_IMAGE_FN} {RESULT_PREFIX} \ --image_size {IMAGE_SIZE} --content_weight {CONTENT_WEIGHT} --style_weight \ {STYLE_WEIGHT} --style_scale {STYLE_SCALE} --total_variation_weight \ {TOTAL_VARIATION_WEIGHT} --content_loss_type {CONTENT_LOSS_TYPE} --num_iter \ {NUM_ITERATIONS} --model {MODEL} --rescale_image {RESCALE_IMAGE} \ --maintain_aspect_ratio {MAINTAIN_ASPECT_RATIO} --content_layer {CONTENT_LAYER} \ --init_image {INITIALIZATION_IMAGE} --pool_type {POOLING_TYPE} --preserve_color \ {PRESERVE_COLOR} --min_improvement {MIN_IMPROVEMENT}