msed-Ebrahimi / ARoFace

Official repository for "ARoFace: Alignment Robustness to Improve Low-Quality Face Recognition" ECCV24
26 stars 6 forks source link

loss error #5

Closed ericyq closed 3 months ago

ericyq commented 3 months ago

amp.scale(loss).backward() RuntimeError: Your training graph has changed in this iteration, e.g., one parameter is unused in first iteration, but then got used in the second iteration. this is not compatible with static_graph set to True.

backbone._set_static_graph()

ericyq commented 3 months ago

delete backbone._set_static_graph() ok