Code Monkey home page Code Monkey logo

Comments (9)

arp95 avatar arp95 commented on June 24, 2024 1

sure. i will work on the shell script and then raise a pull request.

from tutorials.

arp95 avatar arp95 commented on June 24, 2024

@wyli Regarding the python files, we can setup running them during CI/CD right, but wont executing each file take time and increase build time?
Also, is there a way for running jupyter notebooks automatically, like through a command?

from tutorials.

wyli avatar wyli commented on June 24, 2024

yes, with this feature implemented, the CI/CD is likely to take significantly more time. but I think we should address it with a separate ticket (e.g. refactoring the CI job configures so that they could run in parallel and take less time).

for this ticket we need to implement some initial pipelines (welcome discussions) for:

  • checking the coding style
  • checking that the examples work fine:
    • no syntax/type hint error
    • can finish in expected execution time
    • can generate correct outcomes -- model files, model quality measurements, tensorboard files

the notebooks are trickier (see also Project-MONAI/MONAI#874), there are some discussions in https://github.com/Project-MONAI/MONAI/issues/296 of the relevant tools but we still need to check their feasibility for our use case

cc @IsaacYangSLA @Nic-Ma @ericspod @benjamin-gorman

from tutorials.

arp95 avatar arp95 commented on June 24, 2024

Thanks for the explanation. Regarding checking the syntax error, we can simply execute the python file during the CI/CD "python filename.py" and then give it some upper execution time limit? Also, if I can be of help here, I would like to contribute to some of the points mentioned above.

from tutorials.

wyli avatar wyli commented on June 24, 2024

thanks @arp95, would be great to have a simple run_example_tests.sh for those python filename.py commands with a timer (and perhaps some checks of the commandline output logs with grep?), then we take another iteration to integrate the commands into the ci configure for example:
https://github.com/Project-MONAI/MONAI/blob/8f1c290b58ddfb4f9a9f5810916c3a7d48e26643/.github/workflows/setupapp.yml#L171-L181

from tutorials.

arp95 avatar arp95 commented on June 24, 2024

@wyli i was running the file "densenet_training_array.py". It requires the data to be downloaded from this website, https://brain-development.org/ixi-dataset/. Should we save the data in some MONAI google drive for online running or is there another way around this? Because we cant expect to be downloading data everytime during the CI/CD build right?

from tutorials.

wyli avatar wyli commented on June 24, 2024

@wyli i was running the file "densenet_training_array.py". It requires the data to be downloaded from this website, https://brain-development.org/ixi-dataset/. Should we save the data in some MONAI google drive for online running or is there another way around this? Because we cant expect to be downloading data everytime during the CI/CD build right?

I put those demo data here: https://www.dropbox.com/s/y890gb6axzzqff5/testing_ixi_t1.tar.gz?dl=1 please let me know if there's further issue

from tutorials.

arp95 avatar arp95 commented on June 24, 2024

thanks for the help. will check it out and let you know if I face any issues.

from tutorials.

wyli avatar wyli commented on June 24, 2024

addressed by #107 , please file new issues for any follow-up

from tutorials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.