Skip to content

Instantly share code, notes, and snippets.

Avatar

Thomas Dimson turtlesoupy

View GitHub Profile
View test.txt
=================================================================
==75136==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 77392 byte(s) in 323 object(s) allocated from:
#0 0x7f499cd10f44 in strdup (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xa5f44)
#1 0x7f47cb88b8ef in pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, char const*, std::type_info const* const*, unsigned long) (/home/tdimson/anaconda3/envs/voxeloo_cuda112/lib/python3.8/site-packages/open3d/cpu/pybind.cpython-38-x86_64-linux-gnu.so+0x8638ef)
Direct leak of 76032 byte(s) in 432 object(s) allocated from:
#0 0x7f499cd24b6d in malloc (/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.so+0xb9b6d)
View gist:5f3e661be0ed48f31051ce7a62edcad1
diff --git a/3rdparty/filament/filament_build.cmake b/3rdparty/filament/filament_build.cmake
index c44008ad..21bec6ca 100644
--- a/3rdparty/filament/filament_build.cmake
+++ b/3rdparty/filament/filament_build.cmake
@@ -2,8 +2,8 @@ include(ExternalProject)
set(FILAMENT_ROOT "${CMAKE_BINARY_DIR}/filament-binaries")
-set(FILAMENT_GIT_REPOSITORY "https://github.com/intel-isl/filament.git")
-set(FILAMENT_GIT_TAG "release")
View dist.csv
We can't make this file beautiful and searchable because it's too large.
0.24589
0.586201
0.349737
0.206746
0.238344
0.204539
0.164124
0.205543
0.382237
0.403824
View coords.csv
We can't make this file beautiful and searchable because it's too large.
-5,54,12
-5,54,13
-5,55,12
-5,55,13
-5,55,12
-5,55,13
-6,54,12
-6,55,12
-6,54,12
-6,54,13
View display.py
import ipywidgets as widgets
slider_to_idx = {}
sliders = []
slider_range = 50
slider_step = 0.1
img_widgets = [
image_widget_from_pil_image(show_image(tensors[i, :, :, :]))
View notebook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View cpp_ext.cpp
#include <torch/extension.h>
#include "voxels.hpp"
namespace py = pybind11;
PYBIND11_MODULE(_metapedia_cpp_ext, m) {
using namespace metapedia;
m.doc() = "Metapedia CPP extensions";
m.attr("__version__") = "0.0.1";
View voxels.hpp
#pragma once
#include <torch/extension.h>
#include "utils.hpp"
namespace metapedia {
using namespace torch::indexing;
struct EmptyVoxel {};
View env.txt
name: company_makeup
channels:
- stanfordnlp
- pytorch
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=conda_forge
- _openmp_mutex=4.5=1_llvm
- _pytorch_select=0.2=gpu_0
View sample.json
{
"words": [
[
"alpano",
"apportation",
"apprentiction",
"barbarium",
"barboole",
"bezirous",
"bodysplosion",