GaNDLF icon indicating copy to clipboard operation
GaNDLF copied to clipboard

Refactoring the code for some models

Open sarthakpati opened this issue 1 year ago • 13 comments

Is your feature request related to a problem? Please describe. There is currently quite some redundancy in the code for some models, and they could use some cleanup.

Describe the solution you'd like Geneal code refactoring based on a few points:

  • Better variable names
  • Improved readability of code
  • Better logic flow for interpretability

Additionally, it would be good to encompass all "final model activations" (i.e., everything in this search) to be invoked in ModelBase as a separate member function, which should be called by other models. This will dramatically reduce code repetition.

Describe alternatives you've considered N.A.

Additional context N.A.

sarthakpati avatar Mar 30 '23 02:03 sarthakpati

Related to #607 and #627

sarthakpati avatar May 08 '23 14:05 sarthakpati

Stale issue message

github-actions[bot] avatar Jul 07 '23 19:07 github-actions[bot]

Stale issue message

github-actions[bot] avatar Sep 06 '23 19:09 github-actions[bot]

@Geeks-Sid are you still working on this?

sarthakpati avatar Sep 07 '23 14:09 sarthakpati

I think I have the code stashed right now. I will let you know by end of week.

Geeks-Sid avatar Sep 07 '23 16:09 Geeks-Sid

Stale issue message

github-actions[bot] avatar Nov 06 '23 19:11 github-actions[bot]

@Geeks-Sid are you still working on this?

sarthakpati avatar Nov 06 '23 22:11 sarthakpati

@Geeks-Sid are you still working on this?

hey @Geeks-Sid are you still on this?

sarthakpati avatar Dec 01 '23 16:12 sarthakpati

@Geeks-Sid are you still working on this?

hey @Geeks-Sid are you still on this?

hey @Geeks-Sid can you please confirm if you are still working on this or shall we either

  1. Close this issue.
  2. Transfer to someone else with explicit instructions on what needs to happen from you.

sarthakpati avatar Dec 07 '23 13:12 sarthakpati

Stale issue message

github-actions[bot] avatar Feb 05 '24 19:02 github-actions[bot]

@Geeks-Sid are you still working on this?

hey @Geeks-Sid are you still on this?

hey @Geeks-Sid can you please confirm if you are still working on this or shall we either

  1. Close this issue.
  2. Transfer to someone else with explicit instructions on what needs to happen from you.

@Geeks-Sid please respond.

sarthakpati avatar Feb 05 '24 19:02 sarthakpati

Sorry but this has completely skipped my notifications for some reason. Currently the code is way behind master and therefore cannot be Merged into the current PR anymore. Additionally, as I currently resolving some training issues, it would be unwise to change any model code until absolutely necessary. I will pick this Issue later as I resolve the current training issues.

Geeks-Sid avatar Feb 06 '24 18:02 Geeks-Sid

Stale issue message

github-actions[bot] avatar Apr 06 '24 19:04 github-actions[bot]