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

Error L2Regularization, CGNR #196

Open
cenarius1985 opened this issue Jul 8, 2024 · 2 comments
Open

Error L2Regularization, CGNR #196

cenarius1985 opened this issue Jul 8, 2024 · 2 comments

Comments

@cenarius1985
Copy link

cenarius1985 commented Jul 8, 2024

I have this error because it does not recognize the following code snippet.
L2Regularization, and CGNR appreciate your help.
using PyPlot, MRIReco, MRIFiles, MRICoilSensitivities,RegularizedLeastSquares, FFTW ... Etc.
params = Dict{Symbol, Any}() params[:reco] = "multiCoil" params[:reconSize] = (320,320) params[:senseMaps] = smaps params[:solver] = CGNR params[:reg] = L2Regularization(1.e-4) params[:iterations] = 5 params[:normalizeReg] = MeasurementBasedNormalization()

@cenarius1985
Copy link
Author

I'm using your toolbox for MRI reconstruction and I'm encountering some issues with parameter naming: params[:solver] = ADMM, params[:reg] = L1Regularization(2.e-1)

@cenarius1985
Copy link
Author

I thinks this way is correct:
params = Dict{Symbol,Any}()
params[:reco] = "direct"
params[:sparseTrafoName] = "Wavelet"
params[:regularization] = "L1"
params[:λ] = 0.0
params[:normalizeReg] = false
params[:solver] = "admm"
params[:ρ] = 5.e-2
params[:iterations] = 30

return params
end

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

1 participant