From b79d8a1994a27da98aa6f2b0ac728b6fee92544f Mon Sep 17 00:00:00 2001 From: itellaetxe Date: Mon, 27 May 2024 14:34:22 +0200 Subject: [PATCH 1/4] =?UTF-8?q?[DOC]=20Adds=20I=C3=B1igo's=20Community=20B?= =?UTF-8?q?onding=20Period=20Blog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- posts/2024/2024_05_27_Inigo_week_0.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 posts/2024/2024_05_27_Inigo_week_0.rst diff --git a/posts/2024/2024_05_27_Inigo_week_0.rst b/posts/2024/2024_05_27_Inigo_week_0.rst new file mode 100644 index 00000000..dfbd5dba --- /dev/null +++ b/posts/2024/2024_05_27_Inigo_week_0.rst @@ -0,0 +1,25 @@ +Community Bonding Period Summary +=================================================== + +.. post:: May 27 2024 + :author: Iñigo Tellaetxe + :tags: google + :category: gsoc + + + +What I did this week +~~~~~~~~~~~~~~~~~~~~ +I talked with my mentors and we agreed on the first tasks to carry out. Jon Haitz provided me with the data he used to train his AutoEncoder (AE) network. These are 2 datasets: Tractoinferno and FiberCup. +I forked the Tractolearn repo and translated his AE architecture from PyTorch to TensorFlow. I updated the Dockerfile in my fork and created a working Docker image of the repo to run experiments in the DIPC cluster when the experiments phase starts. +I also started writing the training loop for the AE, this is WIP. + +What is coming up next week +~~~~~~~~~~~~~~~~~~~~~~~~~~~ +I will work on finishing the training loop for the AE and make an experiment in which I overfit the model with a small dataset. This is useful to check whether the loss and the training objective are correctly defined. +After this, I could continue to launch bigger training sessions with the full dataset. + + +Did I get stuck anywhere +~~~~~~~~~~~~~~~~~~~~~~~~ +I got a bit stuck with reproducing the Tractolearn environment locally and making the Dockerfile work, but I solved it by updating the Dockerfile. The local environment problem was solved installing a missing system dependency, `liblapack-dev`. \ No newline at end of file From d4351be22b7a736dcaaa281ee49eb82e3983d7ec Mon Sep 17 00:00:00 2001 From: itellaetxe Date: Tue, 28 May 2024 13:07:24 +0200 Subject: [PATCH 2/4] [ENH] Improves week 0 post and removes past editions codespell errors --- posts/2023/2023_05_29_Shilpi_Week_0_1.rst | 2 +- posts/2023/2023_05_29_vara_week1.rst | 2 +- posts/2023/2023_08_21_vara_week_12_13.rst | 2 +- posts/2024/2024_05_27_Inigo_week_0.rst | 19 +++++++++++++++++-- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/posts/2023/2023_05_29_Shilpi_Week_0_1.rst b/posts/2023/2023_05_29_Shilpi_Week_0_1.rst index 3f6e9647..c85ca032 100644 --- a/posts/2023/2023_05_29_Shilpi_Week_0_1.rst +++ b/posts/2023/2023_05_29_Shilpi_Week_0_1.rst @@ -13,7 +13,7 @@ About Myself Hey there! I'm Shilpi, a Computer Science and Engineering undergrad at Dayananda Sagar College of Engineering, Bangalore. I'm on track to grab my degree in 2024. My relationship with Python started just before I started college - got my hands dirty with this awesome Python Specialization course on Coursera. When it comes to what makes me tick, it's all things tech. I mean, new technology always excites me. Ubuntu, with its fancy terminal and all, used to intimidate me at first, but now, I get a thrill out of using it to do even the simplest things. -Up until 2nd year I used to do competitive programming and a bit of ML. But from 3rd year I've been into ML very seriously, doing several courses on ML as well solving ML problems on kaggle. ML is very fun and I've done a few project on ML as well. +Up until 2nd year I used to do competitive programming and a bit of ML. But from 3rd year I've been into ML very seriously, doing several courses on ML as well solving ML problems on Kaggle. ML is very fun and I've done a few project on ML as well. Coding? Absolutely love it. It's like, this is what I was meant to do, y'know? I got introduced to git and GitHub in my first year - was super curious about how the whole version control thing worked. And then, I stumbled upon the world of open source in my second year and made my first contribution to Tardis: (``_) Initially, I intended on doing GSoC during my second year but ended up stepping back for reasons. This time, though, I was fired up to send in a proposal to at least one organization in GSoC. And, well, here we are! diff --git a/posts/2023/2023_05_29_vara_week1.rst b/posts/2023/2023_05_29_vara_week1.rst index ea5d50d4..61ded086 100644 --- a/posts/2023/2023_05_29_vara_week1.rst +++ b/posts/2023/2023_05_29_vara_week1.rst @@ -18,7 +18,7 @@ Learning models helped me quickly learn Tensorflow. As the next step, I read VQ- understood the tensorflow open source implementation. VQ-VAE addresses 'posterior collapse' seen in traditional VAEs and overcomes it by discretizing latent space. This in turn also improved the generative capability by producing less blurrier images than before. -Familiarizing about VQ-VAE early on helps in understading the latents used in Diffusion models +Familiarizing about VQ-VAE early on helps in understanding the latents used in Diffusion models in later steps. I also explored a potential dataset - `IXI (T1 images) `_ - and performed some exploratory data analysis, such as age & sex distribution. The images contain entire skull information, it may require brain extraction & registration. It maybe more useful diff --git a/posts/2023/2023_08_21_vara_week_12_13.rst b/posts/2023/2023_08_21_vara_week_12_13.rst index b79f5798..d1625147 100644 --- a/posts/2023/2023_08_21_vara_week_12_13.rst +++ b/posts/2023/2023_08_21_vara_week_12_13.rst @@ -21,7 +21,7 @@ Using existing training parameters, carried out two experiments, one on CC359 al :alt: Combined trainings plots for all experiments :width: 800 -Inference results on the best performing model, B12-both, is shown below, where every two rows correspond to reconstructions & original volumes respectively, with equally spaced slices in each row. These slices visualised are anterior-posterior topdown & ventral-dorsal LR. +Inference results on the best performing model, B12-both, is shown below, where every two rows correspond to reconstructions & original volumes respectively, with equally spaced slices in each row. These slices visualized are anterior-posterior topdown & ventral-dorsal LR. .. image:: /_static/images/vqvae-monai-B12-both.png :alt: VQVAE-Monai-B12-both reconstructions & originals showing equally spaced 5 slices for 2 different test samples diff --git a/posts/2024/2024_05_27_Inigo_week_0.rst b/posts/2024/2024_05_27_Inigo_week_0.rst index dfbd5dba..759ed422 100644 --- a/posts/2024/2024_05_27_Inigo_week_0.rst +++ b/posts/2024/2024_05_27_Inigo_week_0.rst @@ -1,4 +1,4 @@ -Community Bonding Period Summary +Community Bonding Period Summary and first impressions =================================================== .. post:: May 27 2024 @@ -7,9 +7,24 @@ Community Bonding Period Summary :category: gsoc +About Iñigo +~~~~~~~~~~~~~~~~~~~~ +Hi everyone! I am Iñigo Tellaetxe Elorriaga, BSc in Biomedical Engineering and MSc in Biomedical Technologies in Mondragon Unibertsitatea, Basque Country. I am a first year PhD student in the Computational Neuroimaging Laboratory in the Biobizkaia Health Research Institute, also in the Basque Country. In the lab, our main paradigm is brain connectivity, so I am familiar with diffusion MRI and tractography. My main lines of research are brain aging, age modelling, and neurorehabilitation, all in the presence of neurodegenerative diseases and acute brain injuries. +As of my programming skills, I am mainly a Python developer and I am one of the main contributors to the `ageml` library, which we are developing at our lab as part of my PhD thesis. +I also worked in the industry as a research engineer in the field of medical computer vision for Cyber Surgery, developing new methods to generate synthetic CT images from MRI for reducing ionizing radiation in spinal surgery patients, using generative diffusion models. +I have been using DIPY for a while now for my research and other projects, so I am obviously really excited to contribute to the project this summer. + +How did I get involved with DIPY +~~~~~~~~~~~~~~~~~~~~ +My `thesis supervisor `__, who was a professor at my master's and also a participant and mentor in other editions, told me about GSoC. As a person that has been naturally attracted to research and open science I got really interested in open source software. I was also lucky enough to meet `@drombas `__, who took part in GSoC in 2021 with DIPY. He told me about his work and encouraged me to participate in DIPY, as he positively valued his experience. +After starting my PhD, I saw the perfect opportunity to contribute to the organization and potentially also to my research field. That is why I wanted to fuse tractography with age modelling in the context of Alzheimer's Disease. -What I did this week +What I did this week and in the Community Bonding Period ~~~~~~~~~~~~~~~~~~~~ +During this period, I had the opportunity to meet the other GSoC participants in the organization and my mentors. It was perfect to learn about how we should contribute to DIPY aside from our project and to get up and running with the environment, the coding style guidelines, and the community guidelines. + +Briefly, the objective of my project is to implement a new feature to generate synthetic tractograms in DIPY, being able to specify the "age" and the clinical status (healthy or Alzheimer's Disease affected) of the requested tractogram. + I talked with my mentors and we agreed on the first tasks to carry out. Jon Haitz provided me with the data he used to train his AutoEncoder (AE) network. These are 2 datasets: Tractoinferno and FiberCup. I forked the Tractolearn repo and translated his AE architecture from PyTorch to TensorFlow. I updated the Dockerfile in my fork and created a working Docker image of the repo to run experiments in the DIPC cluster when the experiments phase starts. I also started writing the training loop for the AE, this is WIP. From 280a1ce245a510fd690b0b57dac8d1ca7f0c2d0a Mon Sep 17 00:00:00 2001 From: itellaetxe Date: Wed, 29 May 2024 09:46:45 +0200 Subject: [PATCH 3/4] [STYLE] Adjusts title separators to title string length --- posts/2024/2024_05_27_Inigo_week_0.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/posts/2024/2024_05_27_Inigo_week_0.rst b/posts/2024/2024_05_27_Inigo_week_0.rst index 759ed422..255ab790 100644 --- a/posts/2024/2024_05_27_Inigo_week_0.rst +++ b/posts/2024/2024_05_27_Inigo_week_0.rst @@ -8,19 +8,19 @@ Community Bonding Period Summary and first impressions About Iñigo -~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~ Hi everyone! I am Iñigo Tellaetxe Elorriaga, BSc in Biomedical Engineering and MSc in Biomedical Technologies in Mondragon Unibertsitatea, Basque Country. I am a first year PhD student in the Computational Neuroimaging Laboratory in the Biobizkaia Health Research Institute, also in the Basque Country. In the lab, our main paradigm is brain connectivity, so I am familiar with diffusion MRI and tractography. My main lines of research are brain aging, age modelling, and neurorehabilitation, all in the presence of neurodegenerative diseases and acute brain injuries. -As of my programming skills, I am mainly a Python developer and I am one of the main contributors to the `ageml` library, which we are developing at our lab as part of my PhD thesis. +As of my programming skills, I am mainly a Python developer and I am one of the main contributors to the `ageml `__ library, which we are developing at our lab as part of my PhD thesis. I also worked in the industry as a research engineer in the field of medical computer vision for Cyber Surgery, developing new methods to generate synthetic CT images from MRI for reducing ionizing radiation in spinal surgery patients, using generative diffusion models. I have been using DIPY for a while now for my research and other projects, so I am obviously really excited to contribute to the project this summer. How did I get involved with DIPY -~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ My `thesis supervisor `__, who was a professor at my master's and also a participant and mentor in other editions, told me about GSoC. As a person that has been naturally attracted to research and open science I got really interested in open source software. I was also lucky enough to meet `@drombas `__, who took part in GSoC in 2021 with DIPY. He told me about his work and encouraged me to participate in DIPY, as he positively valued his experience. After starting my PhD, I saw the perfect opportunity to contribute to the organization and potentially also to my research field. That is why I wanted to fuse tractography with age modelling in the context of Alzheimer's Disease. What I did this week and in the Community Bonding Period -~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ During this period, I had the opportunity to meet the other GSoC participants in the organization and my mentors. It was perfect to learn about how we should contribute to DIPY aside from our project and to get up and running with the environment, the coding style guidelines, and the community guidelines. Briefly, the objective of my project is to implement a new feature to generate synthetic tractograms in DIPY, being able to specify the "age" and the clinical status (healthy or Alzheimer's Disease affected) of the requested tractogram. From 3d2a1fca6630043287c16475ed74a85d596be190 Mon Sep 17 00:00:00 2001 From: itellaetxe Date: Wed, 29 May 2024 09:48:12 +0200 Subject: [PATCH 4/4] [STYLE] Fixes overlooked title separator in post title --- posts/2024/2024_05_27_Inigo_week_0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts/2024/2024_05_27_Inigo_week_0.rst b/posts/2024/2024_05_27_Inigo_week_0.rst index 255ab790..111ca9b8 100644 --- a/posts/2024/2024_05_27_Inigo_week_0.rst +++ b/posts/2024/2024_05_27_Inigo_week_0.rst @@ -1,5 +1,5 @@ Community Bonding Period Summary and first impressions -=================================================== +====================================================== .. post:: May 27 2024 :author: Iñigo Tellaetxe