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
is usually sufficient to increase the performance by 2x. Are there any barriers to incorporating such a change within membrain-seg?
I have been using this in my own membrain-seg wrappers, and it has worked very well. However, making jit work with on-the-fly Fourier cropping and rescaling could require more work than just this simple one-line change.
The text was updated successfully, but these errors were encountered:
I noticed that membrain-seg does not currently use jit compilation. Using torch.compile (https://pytorch.org/tutorials/intermediate/torch_compile_tutorial.html) can be a simple way to accelerate the model performance for training and inference. Just wrapping
model_new = torch.compile(model)
is usually sufficient to increase the performance by 2x. Are there any barriers to incorporating such a change within membrain-seg?
I have been using this in my own membrain-seg wrappers, and it has worked very well. However, making jit work with on-the-fly Fourier cropping and rescaling could require more work than just this simple one-line change.
The text was updated successfully, but these errors were encountered: