Skip to content
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

Remove Print Statement in SaliencyMethods_PTY.py #69

Closed
niruc100 opened this issue Aug 13, 2024 · 1 comment
Closed

Remove Print Statement in SaliencyMethods_PTY.py #69

niruc100 opened this issue Aug 13, 2024 · 1 comment

Comments

@niruc100
Copy link

Motivation.
With version 4.4, a print statement was introduced that floats my sys output when I process an instance. I can control this on my side by re-directing the sys output when calling the function but it would be better if it does not print anything or I could deactivate it via a verbose parameter in the explain function.

Describe the solution you'd like
Could you please remove the print statement or make it controllable via the explain function?

Location is TSInterpret/InterpretabilityModels/Saliency/SaliencyMethods_PTY.py
354 if input_size>1:
355 for t in range(sequence_length):
356 print('TIME CONR',timeContribution[0, t])

Additional context
Thanks for your help!

@JHoelli
Copy link
Contributor

JHoelli commented Aug 13, 2024

Hi @niruc100,

sorry about that. It should be fixed in the main branch / the new release 0.4.6.

Thanks for reporting.

@JHoelli JHoelli closed this as completed Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants