Skip to content

Commit

Permalink
changing mode w+ worked
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkingdark committed Dec 7, 2020
1 parent 2a12e5b commit ff82946
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def main():
"image": schema.Tensor((512, 512), dtype="float"),
"label": schema.Tensor((512, 512), dtype="float"),
},
mode='w+'
)

# Upload Data
Expand Down

0 comments on commit ff82946

Please sign in to comment.