Skip to content

Conversation

@masahi
Copy link
Member

@masahi masahi commented Jan 10, 2018

Only nearest neighbor upsampling is supported.
I think bilinear upsampling can be done by conv2d_transpose with certain weight.

@masahi
Copy link
Member Author

masahi commented Jan 10, 2018

@tqchen Is it possible to install scikit-image on the CI server? I need this for upsampling test.

scipy also has imresize function, but they recommend skimage.transform.resize, which I use.
https://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.imresize.html

@tqchen
Copy link
Member

tqchen commented Jan 10, 2018

I tried adding scikit-image. Unfortunately there are some issue in upgrading docker to add this(mainly related to something about sphinx and python build) So we cannot do this for now until next major upgrade of our docker test image.

Can you do a numpy version or scipy one for now?

@masahi
Copy link
Member Author

masahi commented Jan 11, 2018

@tqchen I removed skimage dependency, but I don't understand why CI is still failing?
It fails at _load_lib().

@tqchen
Copy link
Member

tqchen commented Jan 11, 2018

was due to stale cache in the build, i am cleaning up things and trigger a build again



@tvm.target.generic_func
def schedule_upsampling(outs):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since it uses the default injective schedule, we should simply remove schedule_upsampling function and call schedule_injective instead.

Copy link
Member

@tqchen tqchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove schedule_upsampling as it should be simply schedule_injective

@masahi
Copy link
Member Author

masahi commented Jan 11, 2018

I removed schedule_upsampling for now, but if we need bilinear upsampling later, we will need a schedule for upsampling.

@tqchen tqchen merged commit 9800fe2 into apache:master Jan 11, 2018
tqchen pushed a commit to tqchen/tvm that referenced this pull request Jul 6, 2018
* add upsampling cpu op

* add upsampling gpu schedule

* add doc for upsampling op

add more doc

* cleanup upsampling test

* add doc

* fix lint

* fix lint

* fix lint

* remove unused import

* remove skimage dependency

* remove skimage import

* remove schedule_upsampling
sergei-mironov pushed a commit to sergei-mironov/tvm that referenced this pull request Aug 8, 2018
* add upsampling cpu op

* add upsampling gpu schedule

* add doc for upsampling op

add more doc

* cleanup upsampling test

* add doc

* fix lint

* fix lint

* fix lint

* remove unused import

* remove skimage dependency

* remove skimage import

* remove schedule_upsampling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants