Skip to content

Instantly share code, notes, and snippets.

View SchattenGenie's full-sized avatar
💭
Wannabe physicists

Belavin Vladislav SchattenGenie

💭
Wannabe physicists
View GitHub Profile
from mpl_toolkits.mplot3d import Axes3D
from mpl_toolkits.mplot3d.art3d import Line3DCollection
def plot_3d_with_edges(X, l, edges, azim=-84, elev=10):
x, y, z = X.T[:3, :]
if X.shape[1] > 3:
v = X[:, 3]
else:
v = np.zeros(len(X))
@SchattenGenie
SchattenGenie / gitlab_github.yml
Created April 6, 2020 20:15
gitlab_github.yml
# gitlab yaml
--------------------------------
compile_document:
image: vbelavin/full-latex-scheme
variables:
GIT_SUBMODULE_STRATEGY: normal
script:
- python -c 'import sys; print(sys.getdefaultencoding())'
#- ./GOST_cls/gost_checker.py
- make
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import os
from sys import argv
import sys
import numpy as np
import yaml
import torch
from torch import nn
import torch.nn.functional as F
import pandas
from shutil import copyfile, copy2