-
Notifications
You must be signed in to change notification settings - Fork 1.4k
PR: NuClick Transforms Addition #4266
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
Conversation
Signed-off-by: vnath <vnath@nvidia.com>
7e548e3 to
d8c2c56
Compare
|
Hi @wyli @Nic-Ma @ericspod @rijobro, There are four transforms here related to NuClick in MONAI Label that needs your help to identify the best place for them in MONAI Core or outside (MONAI Label, tutorials, etc.).
Many thanks
|
Signed-off-by: vnath <vnath@nvidia.com>
43fe9b2 to
3d22109
Compare
|
Hi @drbeh , Thanks for raising it. Thanks in advance. |
|
@finalelement, could you please take a look at these components that Nic has shared to see if any of them can replace the transforms in nuclick? thanks MONAI/monai/transforms/utility/array.py Line 286 in d7767cd
MONAI/monai/transforms/utility/array.py Line 773 in d7767cd
MONAI/monai/transforms/utility/array.py Line 960 in d7767cd
|
|
@drbeh Thank you for the highlight. @Nic-Ma Thanks for sharing the transforms. Ill check them and let you guys know if I see any synergies. |
|
I looked into the shared transforms, that were shared by Nic:
We can work towards integrating this functionality in another PR and then eventually replace the one in NuClick app transforms for this functionality. |
Signed-off-by: vnath <vnath@nvidia.com>
Signed-off-by: vnath <vnath@nvidia.com>
…dev requirements Signed-off-by: vnath <vnath@nvidia.com>
4462665 to
0e7199d
Compare
Signed-off-by: vnath <vnath@nvidia.com>
Signed-off-by: vnath <vnath@nvidia.com>
|
Hi @finalelement , I think you can add opencv as an optional import, just search Thanks. |
Signed-off-by: vnath <vnath@nvidia.com>
c2f5066 to
4c8d809
Compare
|
@Nic-Ma Thanks for the share, that is very helpful. I can make the changes at all the suggested files for adding python-opencv. Could you please also offer suggestions on this test (build / flake8-py3 (pull_request) for the PR, the autofix is not getting it and I am not sure what fix in terms of formatting to resolve this test. |
|
Also @Nic-Ma @wyli. I've figured out most of the tests that are needed for this PR. This polishing is left from my side:
In the meanwhile, feel free to provide any high level errors that I might have made. I'll take care of the above things tomorrow and try to have it ready for review |
|
The flake8 error message is : /home/runner/work/MONAI/MONAI/tests/test_nuclick_transforms.py:103:1: E302 expected 2 blank lines, found 1 Thanks. |
|
@Nic-Ma Thanks the above is resolved now, I had been looking at the incorrect file, which is why it didn't make sense. |
|
/black |
Signed-off-by: vnath <vnath@nvidia.com>
Signed-off-by: vnath <vnath@nvidia.com>
Signed-off-by: vnath <vnath@nvidia.com>
|
I have few comments that I'm going to add. |
thanks, could you please send a pull request to this branch directly? @drbeh |
pull request?! why is that? It's already a pull request. Sorry, I didn't get your point @wyli. |
Hi @drbeh, please follow our code of conduct for efficient communication. https://github.com/Project-MONAI/MONAI/blob/dev/CODE_OF_CONDUCT.md |
|
@finalelement, thank you very much for this PR and implementing several components. To make sure that this code is matching the style of MONAI, I have left some comments in the code. Could you please review them and update the PR? Please let me know if you have any question. |
Signed-off-by: vnath <vnath@nvidia.com>
|
@drbeh I've addressed most of the comments, please see. |
Thank you very much @finalelement! |
|
Hi @wyli, if it doesn't have to have the same code quality as monai core, please feel free to merge. Thanks |
|
@Nic-Ma Thank you for the suggestions, changes made, commit en route. |
Signed-off-by: vnath <vnath@nvidia.com>
…into nc_transforms
Signed-off-by: vnath <vnath@nvidia.com>
|
@Nic-Ma all changes made |
Nic-Ma
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me just a missing doc-string and unit test.
Thanks for the quick update.
…-string Signed-off-by: vnath <vnath@nvidia.com>
|
/black |
|
/build |
Signed-off-by: vnath vnath@nvidia.com
Fixes # .
Description
This PR will be for working upon the transforms of NuClick for Pathology annotation AI
Status
Work in progress
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.