Closed ericyq closed 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()
delete backbone._set_static_graph() ok
backbone._set_static_graph()