knazeri / edge-connect

EdgeConnect: Structure Guided Image Inpainting using Edge Prediction, ICCV 2019 https://arxiv.org/abs/1901.00212
http://openaccess.thecvf.com/content_ICCVW_2019/html/AIM/Nazeri_EdgeConnect_Structure_Guided_Image_Inpainting_using_Edge_Prediction_ICCVW_2019_paper.html
Other
2.5k stars 528 forks source link

YAMLLoadWarning #150

Open ArtScanner opened 4 years ago

ArtScanner commented 4 years ago

edge-connect-master\src\config.py:8: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. self._dict = yaml.load(self._yaml)

cats-food commented 3 years ago

just refer to the that link, and you will find self._dict = yaml.safe_load(self._yaml) fixes this.