bonlime / keras-deeplab-v3-plus

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

Fixing 'can't pickle _thread.RLock objects' #141

Closed brianmanderson closed 4 years ago

brianmanderson commented 4 years ago

'can't pickle _thread.RLock objects' error was occurring because a tensor is being passed to tf.compat.v1.image.resize instead of an int, the model now saves without producing the error ^^

bonlime commented 4 years ago

Hi! Thanks for the fix.

bonlime commented 4 years ago

Ohhh. I forgot to squash before merge :(