You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
The pre_tensor_transform, to_tensor_transform, post_tensor_transform hook flow is confusing and not always honoured by our tasks. This would simplify the InputTransform hooks to be just per_sample_transform and per_batch_transform on or off device (so 4 hooks in total).
It might be possible to do this and still be backwards compatible by just converting the pre, to, and post hooks into a single sequential, but we may just want to have an error instead.
The text was updated successfully, but these errors were encountered:
The
pre_tensor_transform
,to_tensor_transform
,post_tensor_transform
hook flow is confusing and not always honoured by our tasks. This would simplify theInputTransform
hooks to be justper_sample_transform
andper_batch_transform
on or off device (so 4 hooks in total).It might be possible to do this and still be backwards compatible by just converting the pre, to, and post hooks into a single sequential, but we may just want to have an error instead.
The text was updated successfully, but these errors were encountered: