Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
6ba19a97
Commit
6ba19a97
authored
Apr 01, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ctc_loss API (#215)
parent
460addf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/CTC-TIMIT/train-timit.py
examples/CTC-TIMIT/train-timit.py
+1
-1
No files found.
examples/CTC-TIMIT/train-timit.py
View file @
6ba19a97
...
@@ -56,7 +56,7 @@ class Model(ModelDesc):
...
@@ -56,7 +56,7 @@ class Model(ModelDesc):
W_init
=
tf
.
truncated_normal_initializer
(
stddev
=
0.01
))
W_init
=
tf
.
truncated_normal_initializer
(
stddev
=
0.01
))
logits
=
tf
.
reshape
(
logits
,
(
BATCH
,
-
1
,
NR_CLASS
))
logits
=
tf
.
reshape
(
logits
,
(
BATCH
,
-
1
,
NR_CLASS
))
loss
=
tf
.
nn
.
ctc_loss
(
l
ogits
,
label
,
seqlen
,
time_major
=
False
)
loss
=
tf
.
nn
.
ctc_loss
(
l
abel
,
logits
,
seqlen
,
time_major
=
False
)
self
.
cost
=
tf
.
reduce_mean
(
loss
,
name
=
'cost'
)
self
.
cost
=
tf
.
reduce_mean
(
loss
,
name
=
'cost'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment