Skip to content

Commit 0f3e5f6

Browse files
committed
bullseye wip
1 parent 5d50a5e commit 0f3e5f6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
build:
88
docker:
99
# specify the version you desire here
10-
- image: coderbot/coderbot-ci:3.7-buster-ffmpeg
10+
- image: coderbot/coderbot-ci:3.9-bullseye-ffmpeg
1111

1212
working_directory: ~/repo
1313

cnn_classifier.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
class CNNClassifier(object):
4040
def __init__(self, model_file, label_file):
4141
logger.info(model_file)
42-
self._interpreter = Interpreter(model_path=model_file)
43-
self._interpreter.set_num_threads(4)
42+
self._interpreter = Interpreter(model_path=model_file, num_threads=4)
4443
self._interpreter.allocate_tensors()
4544
self._labels = self.load_labels(label_file)
4645
self._input_details = self._interpreter.get_input_details()

0 commit comments

Comments
 (0)