Skip to content

Commit d5c26cf

Browse files
Conchylicultorcopybara-github
authored andcommitted
[tfds] Fix pytype error
PiperOrigin-RevId: 339841828
1 parent 48454bc commit d5c26cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tensorflow_graphics/datasets/modelnet40/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class ModelNet40(tfds.core.GeneratorBasedBuilder):
6363

6464
@staticmethod
6565
def load(*args, **kwargs):
66-
return tfds.load('model_net40', *args, **kwargs)
66+
return tfds.load('model_net40', *args, **kwargs) # pytype: disable=wrong-arg-count
6767

6868
def _info(self):
6969
return tfds.core.DatasetInfo(

tensorflow_graphics/datasets/shapenet/shapenet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class Shapenet(tfds.core.GeneratorBasedBuilder):
205205

206206
@staticmethod
207207
def load(*args, **kwargs):
208-
return tfds.load('shapenet', *args, **kwargs)
208+
return tfds.load('shapenet', *args, **kwargs) # pytype: disable=wrong-arg-count
209209

210210
MANUAL_DOWNLOAD_INSTRUCTIONS = textwrap.dedent("""\
211211
manual_dir should contain the extracted ShapeNetCore.v2.zip archive.

0 commit comments

Comments
 (0)