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

Clening the original training code, which is difficult to follow (too many lines of code) #4

Open
tmondalvogo opened this issue Dec 15, 2023 · 0 comments

Comments

@tmondalvogo
Copy link

Hello,

Thank you for providing the code. This code is really helpful.
I find the training code is too long (for a single file) and it is hard to follow :

https://github.com/ericsujw/KpSFR/blob/3d4b7968e2ab34239bf4c175f17a29efa46a691f/train_nn.py

Hence, I tried to modularize it so that it can be easily followed and understandable. Please note that I have hardly modified some code with respect to the original code. I only have modularised it for better understanding

These codes are running like the original code. I thought some other people may feel the same issues in understanding and following the code. That's why I share these codes. Please feel free to explore them and let me know if you find any issues. This will be helpful

The Python files are attached herein.

https://drive.google.com/file/d/14vYzEI9PAfN6kL4TvWcsdM9GPDlpaUes/view?usp=sharing

https://drive.google.com/file/d/1QwQF75HA3E0W5EVU_mTzVgDb2c30qYdl/view?usp=sharing

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

No branches or pull requests

1 participant