code-loader 1.0.91.dev21__py3-none-any.whl → 1.0.91.dev22__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.
- code_loader/inner_leap_binder/leapbinder_decorators.py +5 -4
- {code_loader-1.0.91.dev21.dist-info → code_loader-1.0.91.dev22.dist-info}/METADATA +1 -1
- {code_loader-1.0.91.dev21.dist-info → code_loader-1.0.91.dev22.dist-info}/RECORD +5 -5
- {code_loader-1.0.91.dev21.dist-info → code_loader-1.0.91.dev22.dist-info}/LICENSE +0 -0
- {code_loader-1.0.91.dev21.dist-info → code_loader-1.0.91.dev22.dist-info}/WHEEL +0 -0
|
@@ -289,14 +289,15 @@ def tensorleap_element_instance_preprocess(instance_mask_encoder: Callable[[int,
|
|
|
289
289
|
preprocess_response.sample_ids_to_instance_mappings = sample_ids_to_instance_mappings
|
|
290
290
|
preprocess_response.instance_to_sample_ids_mappings = instance_to_sample_ids_mappings
|
|
291
291
|
preprocess_response.sample_ids = all_sample_ids
|
|
292
|
+
|
|
293
|
+
def metadata_is_instance(idx: str, preprocess: PreprocessResponse) -> str:
|
|
294
|
+
return "0"
|
|
295
|
+
leap_binder.set_metadata(metadata_is_instance, "metadata_is_instance")
|
|
296
|
+
|
|
292
297
|
return result
|
|
293
298
|
|
|
294
299
|
leap_binder.set_preprocess(user_function_instance)
|
|
295
300
|
|
|
296
|
-
def metadata_is_instance(idx: str, preprocess: PreprocessResponse) -> str:
|
|
297
|
-
return "0"
|
|
298
|
-
leap_binder.set_metadata(metadata_is_instance, "metadata_is_instance")
|
|
299
|
-
|
|
300
301
|
def _validate_input_args(*args, **kwargs):
|
|
301
302
|
assert len(args) == 0 and len(kwargs) == 0, \
|
|
302
303
|
(f'tensorleap_preprocess validation failed: '
|
|
@@ -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=eHnjPfJvYQDQsBM55sf63kI-NC2M-lOB4cwxjYHNTkk,32766
|
|
24
|
-
code_loader/inner_leap_binder/leapbinder_decorators.py,sha256=
|
|
24
|
+
code_loader/inner_leap_binder/leapbinder_decorators.py,sha256=fjDc0hPo6M6OK_8ImJ64ZT5NA7nzAouYQa9zt6SUmjY,28980
|
|
25
25
|
code_loader/leaploader.py,sha256=K532J4Z8YUjyBpTagJPff4PD0dkuwT9szgBbwBiWwwY,28846
|
|
26
26
|
code_loader/leaploaderbase.py,sha256=tpMVEd97675b_var4hvesjN7EgQzoCbPEayNBut6AvI,4551
|
|
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.91.
|
|
31
|
-
code_loader-1.0.91.
|
|
32
|
-
code_loader-1.0.91.
|
|
33
|
-
code_loader-1.0.91.
|
|
30
|
+
code_loader-1.0.91.dev22.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
|
|
31
|
+
code_loader-1.0.91.dev22.dist-info/METADATA,sha256=gp1eYLUpPImuI-G_eCzFd02cFrHM8pK8GneUhB0jUQU,855
|
|
32
|
+
code_loader-1.0.91.dev22.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
33
|
+
code_loader-1.0.91.dev22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|