Archived post by fabriciochamon

I’ve been fiddling with the onnx sop to get a clue on how to feed the data, since it’s not super intuitive at first sight. Here’s a commented hip if someone is interested. (style transfer / resnet image classifier)

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20230911/23/23/onnx_examples.hiplc
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20230911/23/23/image.png

Archived post by swalsch

totally, seems that openIO won’t area-sample pngs

well, multiple calls of colormap it is

totally works with the mandril

for posterity, this is how I solved it with multiple calls of colormap: “`c vector uvw = set(v@P.x+.5,v@P.z+.5,0.0); string texPath = chs(“tex_path”); vector colors[] = {}; for(int i=0;iv@Cd = avg(colors);“`

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20230707/12/23/image.png

Archived post by lwwwwwws

on mac it’s super easy using instruments.app which comes with xcode… just pick “time profiler”, choose a running process at the top, hit record for a few seconds then fiddle with the viewing options at the bottom ⏱️ actually there’s even a basic version you can get from activity monitor by hitting “sample process” from the three dots menu on linux you can do `perf record -p ` and then one of many options for viewing the output: perf.wiki.kernel.org/index.php/Tutorial#Flame_Graph

for windows i have no clue though, i’d love to know… i’m a clueless baby about windows development, you might have to install full visual studio