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
  • Loading branch information
r-barnes authored and facebook-github-bot committed Sep 6, 2023
1 parent b8a45f5 commit 8db66a5
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 8db66a5

Please sign in to comment.