<jupyter_start><jupyter_text>Remember to enable GPU Runtime<jupyter_code>! git clone https://github.com/nicolalandro/generative-inpainting-pytorch.git
%cd generative-inpainting-pytorch
!wget https://github.com/nicolalandro/generative-inpainting-pytorch/releases/download/0.1/torch_model.p
!python test_tf_model.py \
	--image examples/imagenet/imagenet_patches_ILSVRC2012_val_00008210_input.png \
	--mask examples/center_mask_256.png \
	--output examples/output.png \
	--model-path torch_model.p
from PIL import Image
Image.open('examples/imagenet/imagenet_patches_ILSVRC2012_val_00008210_input.png')
Image.open('examples/output.png')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11463046757164404, 'fraction_numerical': 0.043740573152337855, 'mean_word_length': 6.545454545454546, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '579433', 'license': 'MIT', 'n_tokens_mistral': 270, 'n_tokens_neox': 248, 'n_words': 28, 'path': 'Inpainting.ipynb', 'repo_name': 'nicolalandro/generative-inpainting-pytorch', 'size': '663'}