Skip to content

Commit 5bfae81

Browse files
committed
set real weights
1 parent 1d31e2f commit 5bfae81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extras/adamh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def new_create_weight(path_to_split="/home/programmer/Bachelorarbeit/split/split
3030
for row in reader:
3131
if (row[1] == "train") and i > 0:
3232
# print(row[0])
33-
weights[row[0]] = [int(row[0])]* 1528
33+
weights[row[0]] = [1/1528 * 160716 ]* 1528
3434
# print(row[0])
3535
i = i + 1
3636
print(len(weights))
@@ -70,4 +70,4 @@ def create_data_weights(batchsize:int,dim:int,weights:dict[str,list[float,...]],
7070
return weight
7171

7272
#new_create_weight()
73-
#create_weight()
73+
#create_weight()

0 commit comments

Comments
 (0)