General Virtual Sketching Framework for Vector Line Art




  • Paper topic: Images
  • Software type: Code
  • Able to run a replicability test: True
  • Replicability score: 4
  • Paper listed in the Graphics Replicability Stamp Initiative
  • Software language: Python
  • License: Apache License 2.0
  • Build mechanism:
  • Dependencies: Tensorflow,opencv,pillow,scipy,gizeh
  • Documentation score {0,1,2}: 2
  • Reviewer: Nicolas Bonneel
  • Time spent for the test (build->first run, timeout at 100min): 30min

Source code information


Instructions are clear, dependencies were easily installed with pip. I only ran into a CudNN issue: "E tensorflow/stream_executor/cuda/] Loaded runtime CuDNN library: 7.5.0 but source was compiled with: 7.6.0." which was easily fixed by reinstalling CudNN. 
 The code produces many warnings, during initialization (e.g., "WARNING:tensorflow:From The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead."  or "WARNING:tensorflow:From The name tf.depth_to_space is deprecated. Please use tf.compat.v1.depth_to_space instead" or "WARNING:tensorflow:From max_pooling2d (from tensorflow.python.layers.pooling) is deprecated and will be removed in a future version. Instructions for updating: Use keras.layers.MaxPooling2D instead.") and runtime (e.g., " RuntimeWarning: invalid value encountered in true_divide" or "W tensorflow/core/common_runtime/] Failed to place the graph without changing the devices of some resources. Some of the operations (that had to be colocated with resource generating operations) are not supported on the resources' devices. Current candidate devices are [  /job:localhost/replica:0/task:0/device:CPU:0]."), but nothing that prevents from getting reasonable outputs.

 The deprecated functions might indicate that the code may not run in the near future.

A small difference with the paper is acknowledged : the stroke thickness in the exported svg files is constant, while it is varying in the paper. While it precludes direct and exact comparisons, the effect of the varying stroke thickness in the paper is very subtle. 

If you want to contribute with another review, please follow these instructions.

Please consider to cut/paste/edit the raw JSON data attached to this paper.