gsethi2409 / tf-pose-estimation

Hey! This is a clone of the tf-pose-estimation by Ildoo Kim modified to work with Tensorflow 2.0+!
Apache License 2.0
160 stars 117 forks source link

_l2_regularizer_00004 = tf.keras.regularizers.l2(l=0.00004), give error : TypeError: L2.__init__() got an unexpected keyword argument 'l' #23

Open kazimahathir73 opened 1 week ago

kazimahathir73 commented 1 week ago

In network_base.py give type error. Reason is maybe happens because TensorFlow 2.x uses different argument names for certain functions, including the L2 regularizer. In TensorFlow 2.x, the correct argument name is l2 instead of l.

Screenshot 2024-10-20 163319 .