eerilygood / eereid

Python module providing tools for training and evaluating re-identification models.
Apache License 2.0
2 stars 0 forks source link

fixed ValueError for KerasTensor and tensorflow function in wrapmodel #18

Closed fpolachowski closed 1 month ago

fpolachowski commented 1 month ago

The replaces the inplace tensorflow function with a keras lambda expression to use tensorflow functions on keras tensors.

psorus commented 1 month ago

honestly your fix is nicer than mine. But there are sadly other situations where this error occurs, and I would rather merge mine because it fixes more (tf216). But likely this error will happen more

fpolachowski commented 1 month ago

I'll check your pr right away

psorus commented 1 month ago

thank you!