"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "c27bed4521a5d0c2128df330476721bfbcf0f99d"
Use original forward pass directly when in eval mode from within checkpoint wrapper (#709)
* add failing test * add fix * use 'torch.is_grad_enabled()' instead of 'module.training' * Revert "add failing test" This reverts commit 1c34242208f9b2c5fa6c8f181434c2be6d7cdbc0. * add simple test * improve test * add check for fwd_counter * revert typing/format changes * move to new test file * CHANGELOG * remove old test * fix import order * fix test to be compat with torch 1.6.0 * clean up * comments * isort🤦
Showing
Please register or sign in to comment