[go: nahoru, domu]

Skip to content

Commit

Permalink
Del (object) from 10 inc global_services_index/crawlers/tests/test_…
Browse files Browse the repository at this point in the history
…db.py

Reviewed By: meyering

Differential Revision: D48957927

fbshipit-source-id: 8050c6cc600e7905920e53b5f46b48d2e3cf8b7e
  • Loading branch information
r-barnes authored and facebook-github-bot committed Sep 7, 2023
1 parent b8542eb commit 04039b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/export_onnx_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Refer to https://pytorch.org/docs/stable/onnx.html


class PyTorchPretrainedModel(object):
class PyTorchPretrainedModel:
def __init__(self, model_name):
self.model_name = model_name
method_to_call = getattr(torchvision.models, self.model_name)
Expand Down

0 comments on commit 04039b8

Please sign in to comment.