bonlime / keras-deeplab-v3-plus

Keras implementation of Deeplab v3+ with pretrained weights
MIT License
1.36k stars 428 forks source link

Model.py cleanup and requirements file #101

Closed sachsbl closed 5 years ago

sachsbl commented 5 years ago

I did some basic cleanup of model.py. I removed unused code and imports, fixed formatting issues, and updated the remaining imports to match the latest TF release

bonlime commented 5 years ago

Hi, thanks for a PR. I think having preprocess_input function was necessary for understanding which kind of input preprocessing does the model require. It's a common practice to have such functions in keras models. Except that looks good to me.