BiomedSciAI / fuse-med-ml

A python framework accelerating ML based discovery in the medical field by encouraging code reuse. Batteries included :)
Apache License 2.0
137 stars 34 forks source link

Add OpTranspose (not critical) #222

Open shatz01 opened 1 year ago

shatz01 commented 1 year ago

Had an issue when integrating perceiver architechture that all the implementations require channels to be the last input dim of the minibatch. This required me transposing after OpToTensor in isic dataloader.

This can also be done using OpLambda and passing torch.transpose just as easily, so its not a very necessary pull request. Only merge this if you want to @mosheraboh