Skip to content

Commit

Permalink
Sync local and remote
Browse files Browse the repository at this point in the history
  • Loading branch information
ShihMengLi committed May 4, 2020
2 parents c1f1b60 + 9781918 commit e6872a8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .gitignore
@@ -0,0 +1,17 @@
#ignore all kind of files
*.*
#except php files
!*.py
!*.yml
!*.txt
!*.md
!*LICENSE
!image/moon.jpg
!depth/moon.npy
!video/moon_swing.mp4
!video/moon_zoom-in.mp4
!video/moon_dolly-zoom-in.mp4
!video/moon_straight-line.mp4
!video/moon.mp4
!video/moon_circle.mp4
!misc/moon_40.gif
1 change: 0 additions & 1 deletion main.py
Expand Up @@ -87,7 +87,6 @@
depth_feat_model = depth_feat_model.to(device)
depth_feat_model.eval()
depth_feat_model = depth_feat_model.to(device)

print(f"Loading rgb model at {time.time()}")
rgb_model = Inpaint_Color_Net()
rgb_feat_weight = torch.load(config['rgb_feat_model_ckpt'],
Expand Down
5 changes: 0 additions & 5 deletions mesh.py
@@ -1,15 +1,10 @@
import os
import numpy as np

try:
import cynetworkx as netx
except ImportError:
import networkx as netx

import json
import matplotlib.pyplot as plt
import cv2
from skimage import io
from functools import partial
from vispy import scene, io
from vispy.scene import visuals
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
@@ -0,0 +1,3 @@
[tool.black]
line-length = 120
target-version = ['py37']

0 comments on commit e6872a8

Please sign in to comment.