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

for fixing, _l2_regularizer_00004 = tf.keras.regularizers.l2(l=0.00004), TypeError: L2.__init__() got an unexpected keyword argument 'l' #24

Open kazimahathir73 opened 1 week ago

kazimahathir73 commented 1 week ago

The line of code is giving error 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.