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

Dask with AOI #574

Closed
wants to merge 0 commits into from
Closed

Dask with AOI #574

wants to merge 0 commits into from

Conversation

MarjanAsgari
Copy link

Thank you for submitting your PR and helping us with GDL.
Please read the template below, fill it out as appropriate, and make additional changes to your code as needed.
Please feel free to submit your PR even if it doesn't satisfy all of the requirements below.
If you need assistance or review from a maintainer, add the label Status: Help Needed or Status: Review Needed respectively.
After review, a maintainer will add the label Status: Revision Needed if further work is required for the PR to be merged.

Description

Please include a summary of the change and which issue is resolved (if applicable).
Please also include relevant motivation and context.
List any dependencies that are required for this change.
If it fixes an open issue, please link to the issue here.
Fixes # (issue)

Type of change

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other

How Has This Been Tested?

If the added changes are already cover by tests, skip that section.
Otherwise, please describe tests that you added to the pytest codebase (if applicable).

Screenshots (if applicable):

Checklist:

If you're unsure about any of these, don't hesitate to ask. We're here to help!

  • My code follows the code style of this project
  • I have performed a self-review of my own code
  • My PR has a descriptive title
  • My code follows PEP8 (most of it)
  • My code have the proper documentation in the code
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new errors
  • My code is covered by the existing tests (if applicable)
  • My code includes tests that show that my feature works
  • My PR passes Travis CI tests

If your PR does not fulfill all of the requirements in the checklist above, that's OK! If you need help, @-mention a maintainer and/or add the Status: Help Needed label.

@remtav
Copy link
Collaborator

remtav commented Aug 8, 2024

Hello @MarjanAsgari just a quick comment until I can look further into your MR. First of all, thank you for these changes that, I heard, will greatly improve the speed of inference and help with memory management, among other things.

Can you please fill in MR description above? Also, it seems your MR includes many log files and test data. Were they added on purpose? If not, could you remove them please?

environment.yml Outdated
- pip:
- geo-inference>=2.0.7
- hydra-colorlog>=1.1.0
- hydra-optuna-sweeper>=1.1.0
#- git+https://github.com/CosmiQ/solaris.git@0.5.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe removing it

environment.yml Outdated
@@ -9,8 +9,14 @@ dependencies:
- pytest>=7.1
- ruamel_yaml>=0.15
- scikit-image>=0.18
- dask-image>=2024.5.3
- dask>= 2024.6.2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add a note in the doc for if you have a numpy error it can be cause by numpy 2.0 or somthing

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe removing the logs folder for the PR

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the path for something else, @mpelchat04 can you check if we have the rights to publicly share this link?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a test for RGBN?

# git push origin HEAD:develop
def inference_with_dask():
# GET LIST OF INPUT IMAGES FOR INFERENCE
list_aois = aois_from_csv(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we have the rights to share this link

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