Darcy Shen

Results 92 issues of Darcy Shen

What is needed to run `ML_PREDICT` on a model: + [x] A Python environment (dependencies) + [x] A standard way to load a model + [x] codegen to generate PySpark...

https://github.com/pytorch/audio

documentation

See https://issues.apache.org/jira/browse/ARROW-14342 ``` python from rikai.types.vision import Image Image("s3://bucket/darcy/image.png") ``` ``` ~/.pyenv/versions/3.8.10/envs/rikai-example/lib/python3.8/site-packages/rikai/mixin.py in open(self, mode) 106 if self.is_embedded: 107 return BytesIO(self.data) --> 108 return open_uri(self.uri, mode=mode) ~/.pyenv/versions/3.8.10/envs/rikai-example/lib/python3.8/site-packages/rikai/io.py in open_uri(uri, mode,...

There are two area UDFs available in Rikai: area implemented in Python and in Scala. Are there any guidelines to implement UDFs in Python or Scala?

https://pytorch.org/vision/stable/transforms.html For example, for [torchvision.transforms.Resize](https://pytorch.org/vision/stable/transforms.html#torchvision.transforms.Resize). ``` python resized_imgs = [T.Resize(size=size)(orig_img) for size in (30, 50, 100, orig_img.size)] plot(resized_imgs) ``` ![image](https://user-images.githubusercontent.com/1267865/143004233-e97be81d-2b43-4d2c-b278-9fcc106ca000.png) Corresponding Spark UDF: ``` sql select t_resize(image, 30) as new_image...

Gitee鼓励(强制?)项目把开源许可证填上,@yangbajing 帮忙填上了Apache License 2.0的许可证。 我们需要选择合理的许可证。

read ktikz code for reference

when a file was drag-and-dropped, just automatically change the link