Setup Watermark-Removal in Google Colab
masterNote: The Google Colab method is currently marked as broken in the repository. If attempting to use it, follow these steps:
- Clone the repository:
!git clone https://github.com/zuruoke/watermark-removal - Change directory to the repo.
- Downgrade TensorFlow to version 1.15.0:
!pip install tensorflow==1.15.0 - Install the
neuralgymtoolkit:!pip install git+https://github.com/JiahuiYu/neuralgym - Download the model directory and place it in
model/. Ensurecheckpoint.txtis renamed tocheckpoint. - Run the removal using
main.py.
!python main.py --image path-to-input-image --output path-to-output-image --checkpoint_dir model/ --watermark_type istock