-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TRAK wrapper #101
Comments
Hello. Some issues about the current state of the TRAK wrapper TRAKer object (the underlying explainer we are interfacing with) works as follows: 1 - We "featurize" the training data given a model with model_id. This is done by iterating through checkpoints we 1-) once you Basically it wants you to go through all the test dataset, and get explanations in the end, and it is being clever by caching everything. This causes the problem that:
so we either need some garbage collection and creating new cache folders with new "experiment_name"s. Any straightforward solutions i tried failed: delete corresponding cache file or small changes in the wrapper logic. |
That's why I closed the PR #106 |
@gumityolcu I have investigated the caching issue in more detail. The issue stems from TRAK using a memory-mapped numpy array saver. When we call Luckily, this is easily resolved if we allocate new memory for the explanations by calling TRAK Library allows a |
No description provided.
The text was updated successfully, but these errors were encountered: