modify tensorflow network to use binary instead of onehot encoding
- Status: Closed
- Prize: $20
- Entries Received: 2
- Winner: msavinash1139
Contest Brief
I need a simple change made to this sample code (attached). It was downloaded from https://github.com/atramos/titonn
Specifically I want to use a 7-bit binary encoding instead of the current one-hot encoding for each encoded character. I don't know how to do this in TF so you need to figure this out for me. For example the letter 'A' should be encoded as seven fields with value 1,0,0,0,0,0,1 (0b1000001 = 65 = equals 'A' in ASCII). In the current code only 6 values are allowed (a, b, c, d, e, f) but after this change, the entire 7-bit ASCII character set will be allowed.
This means also a different error function has to be used instead of softmax_cross_entropy_with_logits, but I don't know in advance what the correct function is. I will know the correct one when I see it in a working solution. Please discuss your reasoning in the comments so that I can be confident you have the right solution.
Contest will become #guaranteed after I see at least one serious submission.
Recommended Skills
Top entries from this contest
-
msavinash1139 India
-
dellkj1996 Algeria
Public Clarification Board
How to get started with contests
-
Post Your Contest Quick and easy
-
Get Tons of Entries From around the world
-
Award the best entry Download the files - Easy!