imagefusion_pytorch icon indicating copy to clipboard operation
imagefusion_pytorch copied to clipboard

question

Open snow-dream-w opened this issue 3 years ago • 8 comments

Excuse me , Would like to ask why there will be such a problem Cannot find reference 'tikhonov_filter' in 'util.py'

snow-dream-w avatar Apr 08 '21 08:04 snow-dream-w

You need to 'pip install sporco' to get that function

GrimReaperSam avatar Apr 08 '21 08:04 GrimReaperSam

You need to 'pip install sporco' to get that function

Thank you , This error will still be reported after installation.

snow-dream-w avatar Apr 08 '21 09:04 snow-dream-w

I'm sorry, which util.py file are you talking about?

GrimReaperSam avatar Apr 08 '21 09:04 GrimReaperSam

sporco.util in the sporco program

snow-dream-w avatar Apr 08 '21 09:04 snow-dream-w

https://sporco.readthedocs.io/en/latest/modules/sporco.util.html#sporco.util.tikhonov_filter

It's there, are you sure you have the correct version of sporco?

GrimReaperSam avatar Apr 08 '21 11:04 GrimReaperSam

through the link you provided, the version of sporco is 0.2.1b1, but when I tried installing this verion by the commands the link decribed, I have installed sporco with version 0.2.0. Version 0.2.0 has no function named tikhonov_filter in sporco.util. But the link you provided shows verision 0.2.1b1 has this function. Can you provide a proper way for the installtion of V0.2.1b1? I will appreciate it if you provide any help.thank you! the attached link is V0.2.0 https://github.com/bwohlberg/sporco

snow-dream-w avatar Apr 08 '21 13:04 snow-dream-w

https://sporco.readthedocs.io/en/stable/modules/sporco.util.html#sporco.util.tikhonov_filter These are the docs for the stable version: 0.2.0 It still has the function in sporco.util, if you look at the documentation it says it's being deprecated and points you to Function sporco.util.tikhonov_filter is deprecated; please use sporco.signal.tikhonov_filter instead. You could try that, feel free to make a PR here if it works for you.

GrimReaperSam avatar Apr 08 '21 13:04 GrimReaperSam

Thank you very much. This problem has been solved

snow-dream-w avatar Apr 08 '21 13:04 snow-dream-w

Solved

GrimReaperSam avatar May 30 '24 18:05 GrimReaperSam