You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the networks are taking significant amount of time in the unit tests. It can be improved by remove redundancy and using smaller networks in the tests.
is testing the network forward using a single image or 3 example in the minibatch. These 2 test cases does not test different methods of the network or different conditions, and this do not test any part added in the VQVAE class.
Currently the networks are taking significant amount of time in the unit tests. It can be improved by remove redundancy and using smaller networks in the tests.
For example:
For the AutoencoderKL
GenerativeModels/tests/test_autoencoderkl.py
Line 38 in dd08bff
and
GenerativeModels/tests/test_autoencoderkl.py
Line 23 in dd08bff
are building similar networks with same components, having 2 test cases that do not increase coverage.
Other example:
For the VQVAE
GenerativeModels/tests/test_vqvae.py
Line 25 in dd08bff
is testing the network forward using a single image or 3 example in the minibatch. These 2 test cases does not test different methods of the network or different conditions, and this do not test any part added in the VQVAE class.