jiupinjia / SkyAR

Official Pytorch implementation of the preprint paper "Castle in the Sky: Dynamic Sky Replacement and Harmonization in Videos", in arXiv:2010.11800.
https://jiupinjia.github.io/skyar/
2.01k stars 248 forks source link

colab #1

Closed ak9250 closed 3 years ago

ak9250 commented 3 years ago

can you please add a google colab for inference thanks

jiupinjia commented 3 years ago

can you please add a google colab for inference thanks

Hi, the link to the colab runtime has been added. Thanks for your suggestion.

ak9250 commented 3 years ago

thanks

ak9250 commented 3 years ago

@jiupinjia I am getting this error for the last cell in colab

AttributeError Traceback (most recent call last)

in () 10 fig = plt.figure(figsize=(4,8)) 11 plt.axis('off') ---> 12 fig.axes.get_yaxis().set_visible(False) 13 ims = [[plt.imshow(img[:,:,::-1], animated=True)] for img in sf.output_img_list[0:40]] 14 ani = animation.ArtistAnimation(fig, ims, interval=50) AttributeError: 'list' object has no attribute 'get_yaxis'
jiupinjia commented 3 years ago

You can remove the line "plt.axis('off')" and try again. Actually, when you have reached the last cell, the results are already there in the ./SkyAR folder. The last cell is only used for a previous of your results.

jiupinjia commented 3 years ago

previous --> preview, sorry