We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b61cd0 commit 2d54d0aCopy full SHA for 2d54d0a
extras/weight_loader.py
@@ -6,6 +6,7 @@
6
#inint weights in a csv file
7
def init_weights(path="../weights/first_it.csv",path_to_split="../split/splits.csv"):
8
if not os.path.exists("../weights/first_it.csv"):
9
+ print("init weights ....")
10
with open(path_to_split, 'r') as csvfile:
11
with open(path, 'w') as to_file:
12
fieldnames = ['idents','label','weights']
0 commit comments