code-loader 1.0.94.dev13__py3-none-any.whl → 1.0.94.dev15__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of code-loader might be problematic. Click here for more details.

@@ -297,7 +297,8 @@ def tensorleap_element_instance_preprocess(instance_mask_encoder: Callable[[str,
297
297
  return result
298
298
 
299
299
  def builtin_instance_metadata(idx: str, preprocess: PreprocessResponse) -> Dict[str, str]:
300
- return '0'
300
+ is_instance = '0' if idx in preprocess.sample_ids_to_instance_mappings else '1'
301
+ return {'is_instance': is_instance, 'original_sample_id': idx, 'instance_name': preprocess.instance_ids_to_names[idx]}
301
302
  leap_binder.set_preprocess(user_function_instance)
302
303
  leap_binder.set_metadata(builtin_instance_metadata, "builtin_instance_metadata")
303
304
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: code-loader
3
- Version: 1.0.94.dev13
3
+ Version: 1.0.94.dev15
4
4
  Summary:
5
5
  Home-page: https://github.com/tensorleap/code-loader
6
6
  License: MIT
@@ -21,13 +21,13 @@ code_loader/experiment_api/utils.py,sha256=XZHtxge12TS4H4-8PjV3sKuhp8Ud6ojAiIzTZ
21
21
  code_loader/experiment_api/workingspace_config_utils.py,sha256=DLzXQCg4dgTV_YgaSbeTVzq-2ja_SQw4zi7LXwKL9cY,990
22
22
  code_loader/inner_leap_binder/__init__.py,sha256=koOlJyMNYzGbEsoIbXathSmQ-L38N_pEXH_HvL7beXU,99
23
23
  code_loader/inner_leap_binder/leapbinder.py,sha256=wmCOj_YKbRXqLL1k5Tw_FrcZgfmgnVQcjs2ok6wdlww,32362
24
- code_loader/inner_leap_binder/leapbinder_decorators.py,sha256=6Ps3ZthTpum28Dkt7PQt-OkKljpTLyln1XuIQE4A7sE,29452
24
+ code_loader/inner_leap_binder/leapbinder_decorators.py,sha256=9_OHasL-Q0EygrJ2mR4PI67T5GAGeE_wjxsv7tNWxbw,29652
25
25
  code_loader/leaploader.py,sha256=FiENUvp_TvnPXyX9n5QDQCdUQ_stWv_LazaKnCesCQ4,28822
26
26
  code_loader/leaploaderbase.py,sha256=lKdw2pd6H9hFsxVmc7jJMoZd_vlG5He1ooqT-cR_yq8,4496
27
27
  code_loader/utils.py,sha256=_j8b60pimoNAvWMRj7hEkkT6C76qES6cZoBFHpXHMxA,2698
28
28
  code_loader/visualizers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  code_loader/visualizers/default_visualizers.py,sha256=669lBpLISLO6my5Qcgn1FLDDeZgHumPf252m4KHY4YM,2555
30
- code_loader-1.0.94.dev13.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
31
- code_loader-1.0.94.dev13.dist-info/METADATA,sha256=8kygkZpPlxtQZwlJaoH8-cc0u9YMVqkmGXaX93SEXL0,855
32
- code_loader-1.0.94.dev13.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
- code_loader-1.0.94.dev13.dist-info/RECORD,,
30
+ code_loader-1.0.94.dev15.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
31
+ code_loader-1.0.94.dev15.dist-info/METADATA,sha256=_oWg87RtIs7tKZ4pcwfzYcqg56dAOeBAzan233zbQ-4,855
32
+ code_loader-1.0.94.dev15.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
+ code_loader-1.0.94.dev15.dist-info/RECORD,,