Chao Xu
commited on
Commit
•
a86e755
1
Parent(s):
216282e
Update README and elev est setup
Browse files- .gitignore +2 -1
- README.md +31 -0
- SparseNeuS_demo_v1/exp/lod0/checkpoints_white/ckpt_245000.pth +0 -3
- SparseNeuS_demo_v1/loss/color_loss.py +1 -5
- SparseNeuS_demo_v1/requirements.txt +0 -11
- one2345_elev_est/.gitignore +3 -0
- one2345_elev_est/.idea/.gitignore +0 -5
- one2345_elev_est/.idea/inspectionProfiles/Project_Default.xml +0 -29
- one2345_elev_est/.idea/inspectionProfiles/profiles_settings.xml +0 -6
- one2345_elev_est/.idea/misc.xml +0 -4
- one2345_elev_est/.idea/modules.xml +0 -8
- one2345_elev_est/.idea/one2345_elev_est.iml +0 -8
- one2345_elev_est/install.sh +0 -1
- one2345_elev_est/one2345_elev_est.egg-info/PKG-INFO +0 -4
- one2345_elev_est/one2345_elev_est.egg-info/SOURCES.txt +0 -5
- one2345_elev_est/one2345_elev_est.egg-info/dependency_links.txt +0 -1
- one2345_elev_est/one2345_elev_est.egg-info/top_level.txt +0 -1
- one2345_elev_est/pyproject.toml +7 -0
- one2345_elev_est/requirements.txt +0 -42
- one2345_elev_est/setup.py +0 -9
.gitignore
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
__pycache__/
|
2 |
*.DS_Store
|
3 |
-
*.ipynb
|
|
|
|
1 |
__pycache__/
|
2 |
*.DS_Store
|
3 |
+
*.ipynb
|
4 |
+
*.egg-info/
|
README.md
CHANGED
@@ -1,3 +1,34 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
4 |
+
|
5 |
+
|
6 |
+
# One-2-3-45's Inference Model
|
7 |
+
|
8 |
+
<div>
|
9 |
+
<a style="display:inline-block" href="http://one-2-3-45.com"><img src="https://img.shields.io/badge/Project_Homepage-f9f7f7?logo=data:image/webp;base64,UklGRmIRAABXRUJQVlA4IFYRAABQPwCdASrIAMgAPm00lEekpiolqDvpMIANiWJu3pE7maI+vTDkhN5f7PfmGT7nS6p8nKBr0I+YBzr/ML+2/rG/8j1Sf3/1AP6v/sOsW/bn2GP2W9Zv/zeyf/cf+Z+63tReoB/6uCx2p5E/iUkPwG1FO9t/XgHPL7RH7TzI8EvEA4Mr1T2CP0J6xH+d5J/rz2F/LG9h37l+x9+4xQ3m86D2Te/zeVV/tWyTw7s85XZ0ABD4N2CpzWHt8feKiWkqdTkRjojREWrbUDAKXlYsV7EGU9rWR2gCxVXnstqpNVhwra603swvYRlMyRzKc5nJHEEeLuV8EDee/MpPVIq2DNUcXpCZXvFLHgXBWvZWzSZCFo4iub8df+Yu9q7rw5qemOe2Nt1IIoyjBmXdjCunMherehhPjQIQGiI6PDcriy/zhhwHE7O+0gmpUsYmcDR+ixOfLPY0yjnQosZkIoK1pfttDGtirMbSMqndDVi73JMxcSlNb0MNFtgdAAXNk5Z77wgsPz9RRj9oWO/KRpXn5ra4gUt+mMgSCvFG86zgghSehTRD54z10sNxqnG3/rpKDifOvT4EQU1uA9ZckUZcUt5L5C0+dOdj1I56uLJEAsn0432gHD5wRG7dgSfYusXvhGl2uMaczlXSJ0JfX+Z0e9q7sHywvyEkWC+iJREwvtWi1K+NQAD+/JSRhGP+QTeW9xU73vXKZO+JaR/TAb6vV9dNzIjket6jYZdxK0qCcaf95QeouegLeSQL/9WeH5l2/DE2AKdYjhEYzzIefp7c6cTfM3D3q3kSFxAF/xP/f/3YUFjjOzfzl5xrD3XaWz0TAehn6+ze5pANq6t5GDX8ZOfpIBGUplJj6UZXd76ropLkDdM+d/F2Megl53hry7QvtcUGNlKgjLd7/txvzvkYIPre5sKVvAJzj9DEml706Piekk2NTtBnCMQtQAPO7/Soo3p3QbqLnMIY2PKCq3jFUkeMDAB6uva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0h71O/RjpN5Ku/U/er87C9/jHzucfXpRDcP1JxOOxoJziSE01YxnPjmyDigmCcur63bY/xXdZeNQNprWvE3mAIP14fFkdJ4+0vwkAP+BXokPPQBkZuEWFAUEz1H/YQf4Q9bCQZXl/WSpUpG/TjBo8EpZLTJ2Jwa1G3H2hVIUlifUnV/SvKDYbpUvl6mKuwdgglJxkJOXjtf84FjvjeHUOzf8ZhLw3PH53rUrDz0INySaGJ/n4a/iuvLMaL146Ii98kND4sM0nElTIxnJe+LJF/8aimynAAiTshwnKc7MHqCtuDaUFfEQCGw0tmys5yKZM5zzawr6LW7MdQs9XUDiyTrX+YcI0uPZZ43oMnO737u5Tmc/sAeKCNGIWt8kw87EMQ+BP5NMrf8b8wDvSD2XVEZu7xqwNCizeSYQJGVJVSAdJ27XwXrFfHtdHHrlojW+3BFzE5rOzDsUsA00zYHxt+e9zo9Yn0sImcxGhbDFBGD892Rgz9G+eor3huRF8h4p1qYpjTe/ykVkhWyvHRjNNevOV7Gk1jhgiwOajzrXwNsIJNUvAQQB017GRYgey7MAEeBoAx5RuxYU+oMH6DNk5eYcrJDxo48XGbO4QhCMRgAA"></a>
|
10 |
+
<a style="display:inline-block; margin-left: .5em" href="https://arxiv.org/abs/2306.16928"><img src="https://img.shields.io/badge/2306.16928-f9f7f7?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAABMCAYAAADJPi9EAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAuIwAALiMBeKU/dgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAa2SURBVHja3Zt7bBRFGMAXUCDGF4rY7m7bAwuhlggKStFgLBgFEkCIIRJEEoOBYHwRFYKilUgEReVNJEGCJJpehHI3M9vZvd3bUP1DjNhEIRQQsQgSHiJgQZ5dv7krWEvvdmZ7d7vHJN+ft/f99pv5XvOtJMFCqvoCUpTdIEeRLC+L9Ox5i3Q9LACaCeK0kXoSChVcD3C/tQPHpAEsqu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QGKfr72I+vQRhfsu92dOx7WicInzt3CBg1RVpMm0NveWo2SqFzgmdNZMbriILD+S+zoueWf2vSdAipzacWN5nMl6XxNlUHa/J8DoJodUDE0HR8Ll5V0lPxcrLEHZPV4AzS83OLis7FowVa3RSku7BSNxJqQAlN3hBTC2apmDSkpaw22wJemGQFUG7J4MlP3JC6A+f96V7vRyX9It3nzT/GrjIU8edM7rMSnIi10f476lzbE1K7yEiEuWro0OJBguLCwDuFOJc1Na6sRWL/cCeMIwUN9ggSVbe3v/5/EgzTKWLvEAiBrYRUkgwNI2ZaFQNT75UDxEUEx97zYnzpmiLEmbaYCbNxYtFAb0/Z4AztgUrhyxuNgxPnhfHFDHz/vTgFWUQZxTRkkJhQ6YNdVUEPAfO6ZV5BRss6LcCVb7VaAma9giy0XJZBt9IQh42NY0NSdgbLIPlLUF6rEdrdt0CUCK1wsCbkcI3ZSLc7ZSwGLbmJXbPsNxnE5xilYKAobZ77LpGZ8TAIun+/iCKQoF71IxQDI3K2CCd+ARNvXg9sykBcnHAoCZG4u66hlDoQLe6QV4CRtFSxZQ+D0BwNO2jgdkzoGoah1nj3FVlSR19taTSYxI8QLut23U8dsgzqHulJNCQpcqBnpTALCuQ6NSYLHpmR5i42gZzuIdcrMMvMJbQlxe3jXxyZnLACl7ARm/FjPIDOY8ODtpM71sxwfcZpvBeUzKWmfNINM5AS+wO0Khh7dMqKccu4+qatarZjYAwDlgetzStHtEt+XedsBOQtU9XMrRgjg4KTnc5nr+dmqadit/4C4uLm8DuA9koJTj1TL7fI5nDL+qqoo/FLGAzL7dYT17PzvAcQONYSUQRxW/QMrHZVIyik0ZuQA2mzp+Ji8BW4YM3Mbzm9inaHkJCGfrUZZjujiYailfFwA8DHIy3acwUj4v9vUVa+SmgNsl5fuyDTKovW9/IAmfLV0Pi2UncA515kjYdrwC9i9rpuHiq3JwtAAAAABJRU5ErkJggg=="></a>
|
11 |
+
<a style="display:inline-block; margin-left: .5em" href='https://github.com/One-2-3-45/One-2-3-45'><img src='https://img.shields.io/github/stars/One-2-3-45/One-2-3-45?style=social' /></a>
|
12 |
+
</div>
|
13 |
+
|
14 |
+
This inference model supports the demo for [One-2-3-45](http://One-2-3-45.com). Please check the [Space README](https://huggingface.co/spaces/One-2-3-45/One-2-3-45/blob/main/README.md) for local deployment of the demo.
|
15 |
+
|
16 |
+
Try out our 🤗 Hugging Face Demo:
|
17 |
+
<a target="_blank" href="https://huggingface.co/spaces/One-2-3-45/One-2-3-45">
|
18 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/raw/main/open-in-hf-spaces-sm.svg" alt="Open in HuggingFace"/>
|
19 |
+
</a>
|
20 |
+
|
21 |
+
Please refer to our [GitHub repo](https://github.com/One-2-3-45/One-2-3-45) for full code release.
|
22 |
+
|
23 |
+
## Citation
|
24 |
+
|
25 |
+
```bibtex
|
26 |
+
@misc{liu2023one2345,
|
27 |
+
title={One-2-3-45: Any Single Image to 3D Mesh in 45 Seconds without Per-Shape Optimization},
|
28 |
+
author={Minghua Liu and Chao Xu and Haian Jin and Linghao Chen and Mukund Varma T and Zexiang Xu and Hao Su},
|
29 |
+
year={2023},
|
30 |
+
eprint={2306.16928},
|
31 |
+
archivePrefix={arXiv},
|
32 |
+
primaryClass={cs.CV}
|
33 |
+
}
|
34 |
+
```
|
SparseNeuS_demo_v1/exp/lod0/checkpoints_white/ckpt_245000.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:f40cd7db7f7a5ff16bb2bfbfcbd7c6a8c7e6d3032698cc5779eeaf507225cd97
|
3 |
-
size 5310703
|
|
|
|
|
|
|
|
SparseNeuS_demo_v1/loss/color_loss.py
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
import torch
|
2 |
import torch.nn as nn
|
3 |
-
import torch.nn.functional as F
|
4 |
-
import numpy as np
|
5 |
-
import icecream as ic
|
6 |
from loss.ncc import NCC
|
7 |
-
from termcolor import colored
|
8 |
|
9 |
|
10 |
class Normalize(nn.Module):
|
@@ -140,7 +136,7 @@ class ParamAdjuster(nn.Module):
|
|
140 |
self.adjusted = True
|
141 |
self.adjusted_step = self.global_step
|
142 |
self.thred_idx += 1
|
143 |
-
print(
|
144 |
|
145 |
def forward(self, weight_mean):
|
146 |
self.global_step += 1
|
|
|
1 |
import torch
|
2 |
import torch.nn as nn
|
|
|
|
|
|
|
3 |
from loss.ncc import NCC
|
|
|
4 |
|
5 |
|
6 |
class Normalize(nn.Module):
|
|
|
136 |
self.adjusted = True
|
137 |
self.adjusted_step = self.global_step
|
138 |
self.thred_idx += 1
|
139 |
+
print("adjusted param, now {}".format(self.param))
|
140 |
|
141 |
def forward(self, weight_mean):
|
142 |
self.global_step += 1
|
SparseNeuS_demo_v1/requirements.txt
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
git+https://github.com/mit-han-lab/[email protected]
|
2 |
-
opencv_python
|
3 |
-
trimesh
|
4 |
-
numpy
|
5 |
-
pyhocon
|
6 |
-
icecream
|
7 |
-
tqdm
|
8 |
-
scipy
|
9 |
-
PyMCubes
|
10 |
-
# sudo apt-get install libsparsehash-dev
|
11 |
-
inplace_abn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
build/
|
2 |
+
.idea/
|
3 |
+
*.egg-info/
|
one2345_elev_est/.idea/.gitignore
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
# Default ignored files
|
2 |
-
/shelf/
|
3 |
-
/workspace.xml
|
4 |
-
# Editor-based HTTP Client requests
|
5 |
-
/httpRequests/
|
|
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/.idea/inspectionProfiles/Project_Default.xml
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
<component name="InspectionProjectProfileManager">
|
2 |
-
<profile version="1.0">
|
3 |
-
<option name="myName" value="Project Default" />
|
4 |
-
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
5 |
-
<option name="ignoredPackages">
|
6 |
-
<value>
|
7 |
-
<list size="16">
|
8 |
-
<item index="0" class="java.lang.String" itemvalue="opencv-python" />
|
9 |
-
<item index="1" class="java.lang.String" itemvalue="features" />
|
10 |
-
<item index="2" class="java.lang.String" itemvalue="opencv_contrib_python" />
|
11 |
-
<item index="3" class="java.lang.String" itemvalue="pyyaml" />
|
12 |
-
<item index="4" class="java.lang.String" itemvalue="scipy" />
|
13 |
-
<item index="5" class="java.lang.String" itemvalue="imageio" />
|
14 |
-
<item index="6" class="java.lang.String" itemvalue="matplotlib" />
|
15 |
-
<item index="7" class="java.lang.String" itemvalue="einops" />
|
16 |
-
<item index="8" class="java.lang.String" itemvalue="lpips" />
|
17 |
-
<item index="9" class="java.lang.String" itemvalue="lora" />
|
18 |
-
<item index="10" class="java.lang.String" itemvalue="test-tube" />
|
19 |
-
<item index="11" class="java.lang.String" itemvalue="image-background-remove-tool" />
|
20 |
-
<item index="12" class="java.lang.String" itemvalue="invisible-watermark" />
|
21 |
-
<item index="13" class="java.lang.String" itemvalue="omegaconf" />
|
22 |
-
<item index="14" class="java.lang.String" itemvalue="pyglet" />
|
23 |
-
<item index="15" class="java.lang.String" itemvalue="glumpy" />
|
24 |
-
</list>
|
25 |
-
</value>
|
26 |
-
</option>
|
27 |
-
</inspection_tool>
|
28 |
-
</profile>
|
29 |
-
</component>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/.idea/inspectionProfiles/profiles_settings.xml
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<component name="InspectionProjectProfileManager">
|
2 |
-
<settings>
|
3 |
-
<option name="USE_PROJECT_PROFILE" value="false" />
|
4 |
-
<version value="1.0" />
|
5 |
-
</settings>
|
6 |
-
</component>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/.idea/misc.xml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
|
4 |
-
</project>
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/.idea/modules.xml
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="ProjectModuleManager">
|
4 |
-
<modules>
|
5 |
-
<module fileurl="file://$PROJECT_DIR$/.idea/12345_elev_est.iml" filepath="$PROJECT_DIR$/.idea/12345_elev_est.iml" />
|
6 |
-
</modules>
|
7 |
-
</component>
|
8 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/.idea/one2345_elev_est.iml
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<module type="PYTHON_MODULE" version="4">
|
3 |
-
<component name="NewModuleRootManager">
|
4 |
-
<content url="file://$MODULE_DIR$" />
|
5 |
-
<orderEntry type="jdk" jdkName="Remote Python 3.9.13 (sftp://[email protected]:22/home/linghao/anaconda3/bin/python)" jdkType="Python SDK" />
|
6 |
-
<orderEntry type="sourceFolder" forTests="false" />
|
7 |
-
</component>
|
8 |
-
</module>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/install.sh
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
python setup.py build develop
|
|
|
|
one2345_elev_est/one2345_elev_est.egg-info/PKG-INFO
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
Metadata-Version: 2.1
|
2 |
-
Name: one2345-elev-est
|
3 |
-
Version: 0.1
|
4 |
-
Author: chenlinghao
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/one2345_elev_est.egg-info/SOURCES.txt
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
setup.py
|
2 |
-
one2345_elev_est.egg-info/PKG-INFO
|
3 |
-
one2345_elev_est.egg-info/SOURCES.txt
|
4 |
-
one2345_elev_est.egg-info/dependency_links.txt
|
5 |
-
one2345_elev_est.egg-info/top_level.txt
|
|
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/one2345_elev_est.egg-info/dependency_links.txt
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
|
|
|
|
one2345_elev_est/one2345_elev_est.egg-info/top_level.txt
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
|
|
|
|
one2345_elev_est/pyproject.toml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[project]
|
2 |
+
name = "one2345_elev_est"
|
3 |
+
version = "0.1"
|
4 |
+
|
5 |
+
[tool.setuptools.packages.find]
|
6 |
+
exclude = ["configs", "tests"] # empty by default
|
7 |
+
namespaces = false # true by default
|
one2345_elev_est/requirements.txt
DELETED
@@ -1,42 +0,0 @@
|
|
1 |
-
dl_ext
|
2 |
-
easydict
|
3 |
-
glumpy
|
4 |
-
gym
|
5 |
-
h5py
|
6 |
-
imageio
|
7 |
-
loguru
|
8 |
-
matplotlib
|
9 |
-
mplib
|
10 |
-
multipledispatch
|
11 |
-
# numpy
|
12 |
-
open3d
|
13 |
-
packaging
|
14 |
-
# pandas
|
15 |
-
Pillow
|
16 |
-
pycocotools
|
17 |
-
# pyk4a
|
18 |
-
motion-planning
|
19 |
-
# pyrealsense2
|
20 |
-
pyrender
|
21 |
-
# pytorch3d
|
22 |
-
PyYAML
|
23 |
-
scikit_image
|
24 |
-
scikit_learn
|
25 |
-
scipy
|
26 |
-
screeninfo
|
27 |
-
# seaborn
|
28 |
-
setuptools
|
29 |
-
# skimage
|
30 |
-
tensorboardX
|
31 |
-
termcolor
|
32 |
-
# torch
|
33 |
-
# torchvision
|
34 |
-
tqdm
|
35 |
-
transforms3d
|
36 |
-
trimesh
|
37 |
-
yacs
|
38 |
-
zarr
|
39 |
-
sapien
|
40 |
-
pyglet==1.5.27
|
41 |
-
wis3d
|
42 |
-
git+https://github.com/NVlabs/nvdiffrast.git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
one2345_elev_est/setup.py
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
from setuptools import find_packages
|
2 |
-
from setuptools import setup
|
3 |
-
|
4 |
-
setup(
|
5 |
-
name="one2345_elev_est",
|
6 |
-
version="0.1",
|
7 |
-
author="chenlinghao",
|
8 |
-
packages=find_packages(exclude=("configs", "tests",)),
|
9 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|