Akko
bb83b2c83f
Many changes; started refactor in gmtypes2.py
2023-05-31 16:56:47 +02:00
Akko
6379bc5962
Major refactors
2023-05-17 16:27:52 +02:00
Akko
e157af78bf
erge branch 'master' of http://git.nakadashi.lol/akko/diffvg
2023-05-15 16:23:02 +02:00
Akko
d6388cf912
many changes
2023-05-15 16:22:28 +02:00
Akko
2964bd30a6
bump dependencies
2023-04-24 12:38:35 +02:00
Dan Nissenbaum
a5e26c4395
Resolve crash in 'backward' when a background image with only 3 channels is passed to 'forward'
...
The existing code adds the fourth channel to the background image directly inside 'forward'. However, this breaks back propagation because Torch's autograd framework records the shapes of all inputs to the 'forward' function and expects shapes passed to 'backward' to match. By adding a channel to the background image inside 'forward' and passing this to 'backward', there is an extra channel that autograd does not expect, and it crashes.
The resolution is to instead raise an exception with a useful error message for the end user that they need to add a channel of all ones to the background image.
2023-04-24 12:38:35 +02:00
Sam Estep
f5e2ad9c43
Update build config for macOS on ARM
2023-04-24 12:38:35 +02:00
Oren Katzir
0d69c2b05e
Convert arc points to torch.float
2023-04-24 12:38:35 +02:00
Jun Zhou
28e9dc0809
models of obj
2023-04-23 18:15:59 +02:00
Jun Zhou
50b9353019
update of gradient mesh
2023-04-23 18:14:31 +02:00
Jun Zhou
46b500f522
triangles of gradient mesh
2023-04-23 18:13:04 +02:00
Akko
c2b429e51f
bump dependencies
2023-04-18 17:22:04 +02:00
Tzu-Mao Li
adb04d04ee
Merge pull request #49 from daniel347x/background_image
...
Resolve crash in 'backward' when a background image with only 3 channels is passed to 'forward'
2023-01-09 12:17:05 -05:00
Tzu-Mao Li
63db510588
Merge pull request #51 from samestep/macos-arm
...
Update build config for macOS on ARM
2023-01-09 12:16:37 -05:00
Tzu-Mao Li
d00e1f1fe6
Merge pull request #55 from orenkatzir/master
...
Convert arc points to torch.float
2023-01-09 12:16:17 -05:00
Oren Katzir
81bb7dde8c
Convert arc points to torch.float
2023-01-09 09:25:35 +02:00
Sam Estep
c2b8346510
Update build config for macOS on ARM
2022-11-07 11:12:58 -05:00
Dan Nissenbaum
af48db06cd
Resolve crash in 'backward' when a background image with only 3 channels is passed to 'forward'
...
The existing code adds the fourth channel to the background image directly inside 'forward'. However, this breaks back propagation because Torch's autograd framework records the shapes of all inputs to the 'forward' function and expects shapes passed to 'backward' to match. By adding a channel to the background image inside 'forward' and passing this to 'backward', there is an extra channel that autograd does not expect, and it crashes.
The resolution is to instead raise an exception with a useful error message for the end user that they need to add a channel of all ones to the background image.
2022-11-05 15:07:47 -04:00
Tzu-Mao Li
e5955dbdcb
Merge pull request #34 from robinsloan/master
...
Fix bug in SVG export caused by missing string conversions
2021-10-17 13:49:17 -04:00
Robin Sloan
dac80fea96
found one more missing str conversion
2021-10-17 10:38:40 -07:00
Robin Sloan
1f7ed4987e
fixing same error in Rect serializaiton
2021-10-02 12:23:21 -07:00
Robin Sloan
42670b3a25
fixing SVG circle serialization bug
2021-10-02 11:58:50 -07:00
Tzu-Mao Li
2018a1bcec
Merge pull request #20 from marcoleewow/master
...
add poetry installation README, pyproject.toml and poetry.lock
2021-05-13 08:10:05 -04:00
Tzu-Mao Li
465e1a7f33
Merge pull request #22 from Vrroom/master
...
Parse named colors
2021-05-13 08:09:33 -04:00
vrroom
b4639e5222
Added matplotlib.colors to parse named colors
...
The svg parser will incorrectly parse colors such
as 'green' and 'red' to black. This commit fixes
that by using the code already written in matplotlib.colors
module
2021-05-13 16:12:12 +05:30
Marco Lee
61e0234084
add poetry installation README, pyproject.toml and poetry.lock for easier installation.
2021-04-07 19:54:46 +08:00
Tzu-Mao Li
fd38f71527
Merge pull request #13 from weinman/tf_updates
...
Tensorflow Renderer Path Updates
2020-12-23 13:25:55 -05:00
Jerod Weinman
69610cfffd
Added support for distance approximation in tensorflow Path renderer
2020-12-23 05:57:27 -06:00
Jerod Weinman
734c1f3c12
Fix bug in variable name
2020-12-22 16:13:46 -06:00
Jerod Weinman
287e71a2ac
Added tf example of non-closed path, with trainable stroke width
2020-12-22 14:19:20 -06:00
Jerod Weinman
7463012a8c
Deleted stray commented line
2020-12-22 14:12:39 -06:00
Jerod Weinman
f97b3baf53
Added closed curve tensorflow example
2020-12-22 13:48:00 -06:00
Jerod Weinman
838bc978cb
Updated render_tensorflow to use current Path (without separate stroke width var or use_distance_approx)
2020-12-22 13:47:32 -06:00
Jerod Weinman
4332472c2b
Removed invalid 'type' argument from tf.identity call
2020-12-22 09:32:40 -06:00
Tzu-Mao Li
2c936f4030
Add Apache license
2020-12-21 08:43:28 -05:00
Tzu-Mao Li
bd08109ef0
Fix linear/radial gradient allocation code
2020-12-05 15:48:22 -05:00
Tzu-Mao Li
bfacc6f1cf
Fix CPU-only build
2020-12-05 15:41:01 -05:00
Tzu-Mao Li
f86fb949d0
Merge pull request #8 from weinman/tf_updates
...
Added null pointers for background image and eval positions
2020-11-30 14:25:31 -05:00
Jerod Weinman
7490145cd1
Added null pointers for background image and eval positions
2020-11-30 09:14:46 -06:00
Michael Gharbi
afe2e674d6
fixes mnist_vae
2020-09-30 22:11:11 -04:00
Tzu-Mao Li
2ec688ebb7
Merge pull request #5 from oeway/fix-background_image
...
Fix missing background_image argument
2020-09-30 10:38:27 -04:00
Tzu-Mao Li
0c596d3b57
Merge pull request #2 from oeway/patch-1
...
Install cmake and ffmpeg
2020-09-30 10:38:07 -04:00
oeway
08739cdd0a
Fix error in render_tensorflow
2020-09-28 23:23:59 +02:00
oeway
5b65ad38b1
Fix missing background_image argument
2020-09-28 21:51:26 +02:00
Wei Ouyang
6d0a641315
Add ffmpeg
2020-09-27 19:26:20 +02:00
Wei Ouyang
ec003dc10f
Install cmake
2020-09-27 19:15:28 +02:00
Tzu-Mao Li
1691d48e27
Merge pull request #1 from mworchel/fix-app-single-circle
...
Fix single circle app
2020-09-04 15:27:28 -04:00
Markus Worchel
3248233f05
Fix typo that leads to crash
2020-09-04 21:23:12 +02:00
Tzu-Mao Li
5e6aa79fc2
add image credits
2020-09-03 22:43:05 -04:00
Tzu-Mao Li
7b8a9c1ef4
add pybind11 & thrust submodules
2020-09-03 22:34:21 -04:00