mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Make sure local packages with multi-files are marked as "package"
This commit is contained in:
parent
1e4ab0510c
commit
0b5c22d6dd
@ -429,7 +429,8 @@ class WeightsFileHandler(object):
|
||||
weights_filename=temp_file, auto_delete_file=True, target_filename=target_filename,
|
||||
update_comment=False)
|
||||
else:
|
||||
trains_out_model.update_weights(weights_filename=None, register_uri=model_info.local_model_path)
|
||||
trains_out_model.update_weights(
|
||||
weights_filename=None, register_uri=model_info.local_model_path, is_package=bool(len(files) > 1))
|
||||
|
||||
# update back the internal Model lookup, and replace the local file with our file
|
||||
# noinspection PyProtectedMember
|
||||
|
Loading…
Reference in New Issue
Block a user