Skip to content

Commit 2d54d0a

Browse files
committed
logs when weights are initialized
1 parent 8b61cd0 commit 2d54d0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extras/weight_loader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#inint weights in a csv file
77
def init_weights(path="../weights/first_it.csv",path_to_split="../split/splits.csv"):
88
if not os.path.exists("../weights/first_it.csv"):
9+
print("init weights ....")
910
with open(path_to_split, 'r') as csvfile:
1011
with open(path, 'w') as to_file:
1112
fieldnames = ['idents','label','weights']

0 commit comments

Comments
 (0)