Skip to content

Commit

Permalink
download fit
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Kaillo committed Feb 22, 2022
1 parent b3679af commit dcbaaf2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.ipynb_checkpoints/
wandb/
artifacts/
mlruns/
outputs/
3 changes: 3 additions & 0 deletions download/creditcardfraud/creditcard.csv
Git LFS file not shown
2 changes: 1 addition & 1 deletion download/download_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def process_args(args):
with wandb.init(job_type="download_data") as run:
# Load the file
od.download(args.file_url)
with open("./creditcard.csv", 'rb') as file:
with open("./creditcardfraud/creditcard.csv", 'rb') as file:
fp.writelines(file)
# Download the file streaming and write to open temp file
# with requests.get(args.file_url, stream=True) as r:
Expand Down

0 comments on commit dcbaaf2

Please sign in to comment.