Datasets:

Languages:
English
ArXiv:
License:
mattdeitke commited on
Commit
f0928f6
1 Parent(s): 329af77

add docstring

Browse files
Files changed (1) hide show
  1. objaverse_xl/abstract.py +12 -1
objaverse_xl/abstract.py CHANGED
@@ -7,7 +7,18 @@ from typing import Optional, Callable
7
  class ObjaverseSource(ABC):
8
  @abstractmethod
9
  def load_annotations(self, download_dir: str = "~/.objaverse") -> pd.DataFrame:
10
- pass
 
 
 
 
 
 
 
 
 
 
 
11
 
12
  @abstractmethod
13
  def download_objects(
 
7
  class ObjaverseSource(ABC):
8
  @abstractmethod
9
  def load_annotations(self, download_dir: str = "~/.objaverse") -> pd.DataFrame:
10
+ """Loads the 3D object metadata as a Pandas DataFrame.
11
+
12
+ Args:
13
+ download_dir (str, optional): Directory to download the parquet metadata
14
+ file. Supports all file systems supported by fsspec. Defaults to
15
+ "~/.objaverse".
16
+
17
+ Returns:
18
+ pd.DataFrame: Metadata of the 3D objects as a Pandas DataFrame with columns
19
+ for the object "fileIdentifier", "license", "source", "fileType",
20
+ "sha256", and "metadata".
21
+ """
22
 
23
  @abstractmethod
24
  def download_objects(