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
At this point, relax.generate_cf_explanations will train the ParametricCFModule no matter what. However, if this ParametricCFModule has already been trained, we should not repeat this process.
For example,
cfnet=CounterNet()
# we train cfnet herecfnet.train(data_module)
# but relax will train `cfnet` again hereexp=relax.generate_cf_explanations(cfnet, data_module)
At this point,
relax.generate_cf_explanations
will train theParametricCFModule
no matter what. However, if thisParametricCFModule
has already been trained, we should not repeat this process.For example,
Delivery
Fix bug here:
jax-relax/relax/explain.py
Line 193 in 02a72a7
ParametricCFModule.is_trained
is True or not under this if statement.You might also need to fix bugs in some of the methods inherent
ParametricCFModule
.The text was updated successfully, but these errors were encountered: