Skip to content

Instantly share code, notes, and snippets.

View pablovela5620's full-sized avatar

Pablo Vela pablovela5620

View GitHub Profile
@pablovela5620
pablovela5620 / app.py
Created March 26, 2025 18:30
Simplified app.py for rerun callback
import os
import gradio as gr
from gradio_rerun import Rerun
from gradio_rerun.events import SelectionChange, TimeUpdate, TimelineChange, EntitySelection
import rerun as rr
import rerun.blueprint as rrb
def streaming_repeated_blur_per_user(img):
@pablovela5620
pablovela5620 / pixi.toml
Last active September 15, 2024 13:39
Working pixi.toml for nerfstudio gsplat using pixi 0.29
[project]
authors = ["Pablo Vela <>"]
channels = ["nvidia", "nvidia/label/cuda-11.8.0", "conda-forge", "pytorch"]
description = "Add a short description here"
name = "examples"
platforms = ["linux-64"]
version = "0.1.0"
[system-requirements]
libc = { family = "glibc", version = "2.31" }
@pablovela5620
pablovela5620 / pixi.toml
Created March 5, 2024 14:50
GaussianPRO
[project]
name = "GaussianPro"
version = "0.1.0"
description = "Add a short description here"
authors = ["pablovela5620 <[email protected]>"]
channels = ["nvidia/label/cuda-11.8.0", "nvidia", "conda-forge", "pytorch"]
platforms = ["linux-64"]
[tasks]
torch-gpu-check = """
@pablovela5620
pablovela5620 / pixi.toml
Last active March 15, 2024 20:27
Pytorch 11.8
[project]
name = "Pytorch"
version = "0.1.0"
description = "Add a short description here"
channels = ["nvidia/label/cuda-11.8.0", "nvidia", "conda-forge", "pytorch"]
platforms = ["linux-64"]
[tasks]
[dependencies]
@pablovela5620
pablovela5620 / demo_run_graph_main_out.cc
Created November 3, 2019 19:02
How to retrieve hand landmark proto from desktop cpu example
// Copyright 2019 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
import os.path
import tensorflow as tf
import helper
import warnings
from distutils.version import LooseVersion
import project_tests as tests
# Check TensorFlow Version
assert LooseVersion(tf.__version__) >= LooseVersion(
'1.0'), 'Please use TensorFlow version 1.0 or newer. You are using {}'.format(tf.__version__)
/*
* particle_filter.cpp
*
* Created on: Dec 12, 2016
* Author: Tiffany Huang
*/
#define _USE_MATH_DEFINES
#include <random>
#include <algorithm>
/*
* particle_filter.cpp
*
* Created on: Dec 12, 2016
* Author: Tiffany Huang
*/
#define _USE_MATH_DEFINES
#include <random>
#include <algorithm>
#ifndef UKF_H
#define UKF_H
#include "measurement_package.h"
#include "Eigen/Dense"
#include <vector>
#include <string>
#include <fstream>
using Eigen::MatrixXd;
#ifndef UKF_H
#define UKF_H
#include "measurement_package.h"
#include "Eigen/Dense"
#include <vector>
#include <string>
#include <fstream>
using Eigen::MatrixXd;