Skip to content

Commit

Permalink
update team file path (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
peixed351 authored Jan 9, 2023
1 parent c85f88b commit 7f62a38
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"export"
],
"description": "Converts Supervisely Project to Pascal VOC format",
"docker_image": "supervisely/base-py-sdk:6.35.0",
"docker_image": "supervisely/base-py-sdk:6.68.95",
"instance_version": "6.5.1",
"main_script": "src/export-pascal-voc.py",
"modal_template": "src/modal.html",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
supervisely==6.35.0
supervisely==6.68.95
lxml==4.6.3
numpy>=1.19.4
Pillow>=8.0.1
3 changes: 2 additions & 1 deletion src/export-pascal-voc.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ def from_sly_to_pascal(api: sly.Api, task_id, context, state, app_logger):
app_logger.info("Result directory is archived")

upload_progress = []
remote_archive_path = "/ApplicationsData/Export-to-Pascal-VOC/{}/{}".format(task_id, full_archive_name)
remote_archive_path = os.path.join(
sly.team_files.RECOMMENDED_EXPORT_PATH, "export-to-Pascal-VOC/{}/{}".format(task_id, full_archive_name))

def _print_progress(monitor, upload_progress):
if len(upload_progress) == 0:
Expand Down

0 comments on commit 7f62a38

Please sign in to comment.