You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for sharing the code. I find that there are some inoperative lines of code in the training file. The use of these operations is not clear and it seems that these operations are not needed for training.
Hello,
Thank you for sharing the code. I find that there are some inoperative lines of code in the training file. The use of these operations is not clear and it seems that these operations are not needed for training.
KpSFR/train_nn.py
Line 188 in 3d4b796
The array
ref_v[ ]
doesn't have any participation in the training. It is created and then deleted.The variable is created in line :
KpSFR/train_nn.py
Line 190 in 3d4b796
Then it is only used to check an
assert
condition :KpSFR/train_nn.py
Line 223 in 3d4b796
Then it is deleted :
KpSFR/train_nn.py
Line 273 in 3d4b796
Hence all the operations done
From line:
KpSFR/train_nn.py
Line 189 in 3d4b796
To line:
KpSFR/train_nn.py
Line 223 in 3d4b796
has no use in the training code i.e. these operations are not used in any sort of loss calculation etc.
Then why they are done in this code? What is the use of it?
To easily follow the code, you may use the cleaner version of the code here :
#4 (comment)
The text was updated successfully, but these errors were encountered: