question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide option auto_delete_file to Task.update_output_model

See original GitHub issue

Hi!

Please provide the option auto_delete_file to Task.update_output_model. I have a need to save model weights both remotely and locally. However, now it is not so conveniently configured. I have to create an instance of the OutputModel class and call the method update_weights with auto_delete_file=True, although this is already done in Task.update_output_model.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jkhenningcommented, Jan 26, 2022

Great, I’ll push this commit soon and it’ll be available in the next RC.

0reactions
421pshcommented, Jan 26, 2022

Exactly, I want auto_delete_file=True not to be hard-coded in Task.update_output_model() method.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Delete Task - MSBuild - Microsoft Learn
Learn about parameters and considerations for using the MSBuild Delete task to delete specified files.
Read more >
Error: Execution failed for task ':app:clean'. Unable to delete file
The problem disappears when I remove apply plugin: 'kotlin-android' from the module's build.gradle file and comes back when I reinsert it. Feel ...
Read more >
Task | ClearML
Delete the task as well as its output models and artifacts. Models and artifacts are deleted from their storage locations, each using its...
Read more >
Authoring Tasks - Gradle User Manual
This task will have three inputs and one output: Template source files. Model data. Template engine. Where the output files are written.
Read more >
Python Write to File – Open, Read, Append, and Other File ...
How to delete files. How to work with context managers and why they are useful. How to handle exceptions that could be raised...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found