Skip to content

Commit

Permalink
python/pytorch: Create classifier model training example
Browse files Browse the repository at this point in the history
Signed-off-by: Soham Manoli <[email protected]>
  • Loading branch information
msoham123 committed Jul 26, 2024
1 parent 8a2e7a3 commit bcc1f61
Show file tree
Hide file tree
Showing 5 changed files with 669 additions and 4 deletions.
1 change: 0 additions & 1 deletion python/aistore/pytorch/iter_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,4 @@ def __iter__(self):
disable=not self._show_progress,
force_tty=False,
):
# Update each object to use WorkerRequestSession for multithreading support
yield obj.name, obj.get(etl_name=self._etl_name).read_all()
2 changes: 1 addition & 1 deletion python/aistore/sdk/bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def put_files(
Args:
path (str): Local filepath, can be relative or absolute
prefix_filter (str, optional): Only put files with names starting with this prefix
pattern (str, optional): Regex pattern to filter files
pattern (str, optional): Shell-style wildcard pattern to filter files
basename (bool, optional): Whether to use the file names only as object names and omit the path information
prepend (str, optional): Optional string to use as a prefix in the object name for all objects uploaded
No delimiter ("/", "-", etc.) is automatically applied between the prepend value and the object name
Expand Down
Loading

0 comments on commit bcc1f61

Please sign in to comment.