diffvg icon indicating copy to clipboard operation
diffvg copied to clipboard

Provide interactive (Colab) notebook with minimal working example (tensorflow)

Open GreenWizard2015 opened this issue 3 years ago • 2 comments

I created a very simple notebook, it only installs the library and runs one of the examples: https://colab.research.google.com/drive/1Bnd0YI8ViGb3jDYxSGrSGmt5IcaC0GIz?usp=sharing

As you can see, the libdiffvg_tf_data_ptr_no_cxx11_abi.so is not created because the script does not find/detect Tensorflow. If you force its creation to start then a file will be created, but the error "undefined symbol: _ZTIN10tensorflow8OpKernelE" will appear.

Please provide an example of correct library installation with Tensorflow 2+ support.

GreenWizard2015 avatar Jan 22 '22 21:01 GreenWizard2015

Hello @GreenWizard2015 did you manage to find a solution? Also trying to get this to work on google Colab :/

henryleemr avatar May 08 '22 04:05 henryleemr

The recently released CLIPasso project has a notebook installing and running dffvg: https://github.com/yael-vinker/CLIPasso/blob/main/CLIPasso.ipynb

That works for me. I believe they peg tensorflow or CUDA to an explicit, compatible version.

v-a-s-a avatar May 20 '22 13:05 v-a-s-a