Skip to content

Commit 7b52bca

Browse files
committed
Class fixes
1 parent c248264 commit 7b52bca

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/keras-perf/wandb/settings

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[default]
22
entity = qualcomm
33
project = perf-sep26
4-
base_url = https://api.wandb.ai
5-
4+
base_url = https://api.wandb.ai

examples/lstm/imdb-classifier/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
id_to_word[0] = "" # Padding
1212
id_to_word[1] = "" # Start token
1313
id_to_word[2] = "�" # Unknown
14+
id_to_word[3] = "" # End token
1415

1516

1617
def decode(word):

examples/mobile/tfjs-emotion/train.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Import layers
2-
from keras.layers import Dense, Flatten
3-
from keras.models import Sequential
4-
from keras.callbacks import Callback
2+
from tensorflow.keras.layers import Dense, Flatten
3+
from tensorflow.keras.models import Sequential
4+
from tensorflow.keras.callbacks import Callback
55
import pandas as pd
66
import numpy as np
77
import cv2
8-
import keras
8+
from tensorflow import keras
99
import subprocess
1010
import os
1111
import time

0 commit comments

Comments
 (0)