mirror of
https://github.com/clearml/clearml
synced 2025-05-06 13:54:26 +00:00
Fix warning on uploading local file that does not exist
This commit is contained in:
parent
c328fbf345
commit
e37d6a4155
@ -301,7 +301,7 @@ class UploadEvent(MetricsEventAdapter):
|
|||||||
if output is None:
|
if output is None:
|
||||||
from ...debugging.log import LoggerRoot
|
from ...debugging.log import LoggerRoot
|
||||||
LoggerRoot.get_base_logger().warning(
|
LoggerRoot.get_base_logger().warning(
|
||||||
'Skipping upload, could not find object file \'{}\''.format(output.as_posix()))
|
'Skipping upload, could not find object file \'{}\''.format(self._local_image_path))
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return self.FileEntry(
|
return self.FileEntry(
|
||||||
|
Loading…
Reference in New Issue
Block a user