We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d50a5e commit 0f3e5f6Copy full SHA for 0f3e5f6
.circleci/config.yml
@@ -7,7 +7,7 @@ jobs:
7
build:
8
docker:
9
# specify the version you desire here
10
- - image: coderbot/coderbot-ci:3.7-buster-ffmpeg
+ - image: coderbot/coderbot-ci:3.9-bullseye-ffmpeg
11
12
working_directory: ~/repo
13
cnn_classifier.py
@@ -39,8 +39,7 @@
39
class CNNClassifier(object):
40
def __init__(self, model_file, label_file):
41
logger.info(model_file)
42
- self._interpreter = Interpreter(model_path=model_file)
43
- self._interpreter.set_num_threads(4)
+ self._interpreter = Interpreter(model_path=model_file, num_threads=4)
44
self._interpreter.allocate_tensors()
45
self._labels = self.load_labels(label_file)
46
self._input_details = self._interpreter.get_input_details()
0 commit comments