This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Unofficial Dockerfile for 3D Gaussian Splatting for Real-Time Radiance Field Rendering | |
## Bernhard Kerbl, Georgios Kopanas, Thomas Leimkühler, George Drettakis | |
## https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/ | |
# Use the base image with PyTorch and CUDA support | |
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel | |
# NOTE: | |
# Building the libraries for this repository requires cuda *DURING BUILD PHASE*, therefore: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.apache.spark.ml.feature | |
import org.apache.spark.ml.linalg.BLAS.axpy | |
import org.apache.spark.ml.linalg._ | |
import org.apache.spark.rdd.RDD | |
import org.apache.spark.sql.SparkSession | |
import scala.util.Random | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |