Skip to content

Commit 21822ef

Browse files
committed
Move ABAW-related code to separate folder
1 parent 56a0c16 commit 21822ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
File renamed without changes.

src/video_summarizer.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,8 +1493,8 @@
14931493
"source": [
14941494
"def get_probab(features):\n",
14951495
" x=np.dot(features,np.transpose(classifier_weights))+classifier_bias\n",
1496-
" #print(x)\n",
1497-
" e_x = np.exp(x - np.max(x,axis=0))\n",
1496+
" e_x = np.exp(x - np.max(x,axis=1)[:,np.newaxis])\n",
1497+
" #print(x.shape,x,np.max(x,axis=1),e_x)\n",
14981498
" return e_x / e_x.sum(axis=1)[:,None]"
14991499
]
15001500
},

0 commit comments

Comments
 (0)