Skip to content

Commit

Permalink
Fix a stale API in segment_anything_tutorial.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
coufon committed Jan 21, 2024
1 parent 418e537 commit 8f1185d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions notebooks/segment_anything_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@
"metadata": {},
"outputs": [],
"source": [
"from space import Range\n",
"from space import JoinOptions, Range\n",
"\n",
"# left_reference_read, right_reference_read enables reference read.\n",
"# Addresses are read for the join inputs, instead of reading data.\n",
Expand All @@ -428,7 +428,8 @@
" mid = (r.min_ + r.max_) // 2\n",
" return [Range(r.min_, mid, include_max=False), Range(mid, r.max_, include_max=True)]\n",
"\n",
"joined_addresses = joined_view.ray().read_all(partition_fn)"
"joined_addresses = joined_view.ray().read_all(\n",
" join_options=JoinOptions(partition_fn=partition_fn))"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "space-datasets"
version = "0.0.6"
version = "0.0.7"
authors = [{ name = "Space team", email = "[email protected]" }]
description = "Unified storage framework for machine learning datasets"
readme = "README.md"
Expand Down

0 comments on commit 8f1185d

Please sign in to comment.