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
Copy file name to clipboardExpand all lines: machine_learning/simclr.py
+8-6
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
"""
2
-
Implementation of SimCLR.
2
+
Implementation of SimCLR.
3
3
Self-Supervised Learning (SSL) with SimCLR. SimCLR is a framework for learning visual representations without labels by maximizing the agreement between different augmented views of the same image.
4
4
"""
5
+
5
6
importnumpyasnp
6
7
importtensorflowastf
7
8
fromtensorflow.kerasimportlayers
@@ -18,7 +19,7 @@
18
19
defdata_handling(data: dict) ->tuple:
19
20
"""
20
21
Handles the data by splitting features and targets.
0 commit comments