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
I was using the code from models.py to try and improve transfer learning results between two datasets. It made me wonder what the point of self.target_fc is in the DeepCORAL class since it is never actually used in the forward pass. Instead, `self.source_fc' is applied to both the source and target data.
Also, in main.py the test function has a mode argument which selects the output to return. Given the fact that it calls model(data, data) and that there is no difference between how these two inputs will be processed, is such indexing redundant?
The text was updated successfully, but these errors were encountered:
Hi,
I was using the code from models.py to try and improve transfer learning results between two datasets. It made me wonder what the point of
self.target_fc
is in theDeepCORAL
class since it is never actually used in the forward pass. Instead, `self.source_fc' is applied to both the source and target data.Also, in main.py the
test
function has amode
argument which selects the output to return. Given the fact that it callsmodel(data, data)
and that there is no difference between how these two inputs will be processed, is such indexing redundant?The text was updated successfully, but these errors were encountered: