610265158 / face_landmark

A simple method for face alignment based on wingloss and mutitask learning :)
Apache License 2.0
251 stars 80 forks source link

The error of " ZeroDivisionError: float division by zero" #49

Open xieshenru opened 3 years ago

xieshenru commented 3 years ago

In tf2 branch , wen run train.py , the error of " File"/home/ss/face_landmark/lib/core/base_trainer/net_work.py", line 202, in custom_loop train_total_loss / num_train_batches, ZeroDivisionError: float division by zero " appear ,how to solve the problem?