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

Lpgd class #216

Merged
merged 11 commits into from
Jun 7, 2024
Merged

Lpgd class #216

merged 11 commits into from
Jun 7, 2024

Conversation

jabascal
Copy link
Contributor

@jabascal jabascal commented Jun 5, 2024

Added Learned PGD, remove old classes

@jabascal jabascal requested a review from nducros June 5, 2024 10:14
@nducros
Copy link
Member

nducros commented Jun 5, 2024

For some reason the new classes (i.e., DCDRUNet, LearnedPGD, etc) do not show up in the documentation

@jabascal does it work locally?
@romainphan the autosummary seems to work well. Is there anything to do manually?

@romainphan
Copy link
Collaborator

romainphan commented Jun 5, 2024

@nducros

I see no DCDRUNet class here https://github.com/openspyrit/spyrit/blob/lpgd_class/spyrit/core/recon.py

as for LearnedPGD, it actually does show up in the version you linked to. Maybe there was a build recently ?

@nducros
Copy link
Member

nducros commented Jun 5, 2024

I was checking a cached version. I now see LearnedPGD, thx !
DCDRUNet is in external. Does it make sense to add it to the autodoc, even if documentation will be minimal?

@romainphan
Copy link
Collaborator

I would never recommend not to document something... ^^

@nducros
Copy link
Member

nducros commented Jun 5, 2024

Good point :) Here, I would document only DCDRUNet as the other classes are taken from some github repo.
@romainphan Can you add the external folder to building of the documentation (in this branch) to see how it currently looks like?

@romainphan
Copy link
Collaborator

If some bits of code are taken from elsewhere, could it be possible to link to that documentation ?
Also i can't see any dcdrunet class here

@nducros
Copy link
Member

nducros commented Jun 5, 2024

you're right! This is okay, though. My comment was confusing. The DCDRUnet method I mentionned is a DCNet used in conjunction with a DRUNet (see Tutorial 7)

@romainphan
Copy link
Collaborator

I added this line
spyrit.external
to spyrit/docs/source/index.rst (here)

The documentation is compiled, you may have a look here at what it looks like, but i believe all of it is empty

@nducros
Copy link
Member

nducros commented Jun 5, 2024

Quite empty but not so bad to have it.
@jabascal Can you update the docstring of DRUNet to indicate the input parameters, then I'll move on an merge.

@jabascal
Copy link
Contributor Author

jabascal commented Jun 6, 2024 via email

@nducros
Copy link
Member

nducros commented Jun 6, 2024

A few typos are left (see here).
Add also link to original repo?

@nducros
Copy link
Member

nducros commented Jun 7, 2024

@jabascal Does it look good ? here

B is the batch size, right? It was previously denoted BC, but I think it does not depend on the number of channels ?
Should the number of channels of the input match the number of channel of DRUNet?

@jabascal
Copy link
Contributor Author

jabascal commented Jun 7, 2024 via email

@nducros nducros merged commit eda7674 into master Jun 7, 2024
30 checks passed
@nducros nducros deleted the lpgd_class branch June 7, 2024 10:59
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

Successfully merging this pull request may close these issues.

3 participants