Skip to content

Instantly share code, notes, and snippets.

View aaronliu0130's full-sized avatar
🥲
Still inside teh box

Aaron Liu aaronliu0130

🥲
Still inside teh box
View GitHub Profile
@aaronliu0130
aaronliu0130 / pth2bin.chn
Created August 29, 2023 20:44
chaiNNer file to convert .pth models to .bin + .param format for use with Upscayl
{"version":"0.19.4","content":{"nodes":[{"data":{"schemaId":"chainner:ncnn:save_model","inputData":{},"inputSize":{"2":{"width":240,"height":80}},"id":"71ce0951-dda1-4867-a447-e39757733869"},"id":"71ce0951-dda1-4867-a447-e39757733869","position":{"x":500,"y":0},"type":"regularNode","selected":false,"height":212,"width":240,"zIndex":50},{"data":{"schemaId":"chainner:pytorch:load_model","inputData":{},"id":"a87382a3-ce27-48bf-b639-d519acd6c69a"},"id":"a87382a3-ce27-48bf-b639-d519acd6c69a","position":{"x":0,"y":0},"type":"regularNode","selected":false,"height":252,"width":240,"zIndex":50},{"data":{"schemaId":"chainner:pytorch:convert_to_ncnn","inputData":{"1":1},"id":"f53de61e-c8c4-4582-9f84-3606b598fe56"},"id":"f53de61e-c8c4-4582-9f84-3606b598fe56","position":{"x":250,"y":0},"type":"regularNode","selected":false,"height":228,"width":240,"zIndex":50}],"edges":[{"id":"50aeb459-61ea-4bc7-bb99-0a5745b228b9","sourceHandle":"f53de61e-c8c4-4582-9f84-3606b598fe56-0","targetHandle":"71ce0951-dda1-4867-a447-e39757733869-
@aaronliu0130
aaronliu0130 / Console Error
Created June 30, 2019 11:41
Error while compiling Mojave experimental patch
==> Cloning https://github.com/LouisBrunner/valgrind-macos.git
Updating /Users/Aaron/Library/Caches/Homebrew/valgrind--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 2220a31 Add README and Brew formula
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-2220a31 --enable-only64bit --build=amd64-darwin
==> make
Last 15 lines from /Users/Aaron/Library/Logs/Homebrew/valgrind/03.make: