Skip to content

0.2.1

Compare
Choose a tag to compare
@james77777778 james77777778 released this 22 May 03:27
· 9 commits to main since this release
e2d31cc

Major Features and Improvements

Add arbitrary shape support for MobileViT* and VisionTransformer*

import numpy as np

import kimm

x = np.random.uniform(size=[1, 150, 150, 3])
model = kimm.models.MobileViTXXS(input_shape=[150, 150, 3])
print(model.predict(x, verbose=0).shape)  # [1, 1000]
model = kimm.models.VisionTransformerTiny16(input_shape=[150, 150, 3])
print(model.predict(x, verbose=0).shape)  # [1, 1000]

Add more model weights

  • kimm.models.ConvNeXtXLarge
  • kimm.models.VisionTransformerLarge16
  • kimm.models.VisionTransformerLarge32

Code cleanup and minor improvements

What's Changed

Full Changelog: 0.2.0...0.2.1