Skip to content

Commit

Permalink
fix: use constructor not .load()
Browse files Browse the repository at this point in the history
  • Loading branch information
furiosamg committed Aug 9, 2023
1 parent a8d5ae0 commit 5f4df9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/ssd_mobilenet_native.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

image = ["tests/assets/cat.jpg"]

mobilenet = SSDMobileNet.load(use_native=True)
mobilenet = SSDMobileNet("rust")
with session.create(mobilenet.model_source()) as sess:
inputs, contexts = mobilenet.preprocess(image)
outputs = sess.run(inputs)
Expand Down

0 comments on commit 5f4df9b

Please sign in to comment.