Spaces:
Restarting
on
Zero
Restarting
on
Zero
xinjie.wang
commited on
Commit
·
011981e
1
Parent(s):
ae0b9e1
update
Browse files- asset3d_gen/data/backup/gpt_qwen.py +1 -1
- asset3d_gen/models/delight.py +0 -2
- asset3d_gen/models/segment.py +0 -1
- asset3d_gen/models/super_resolution.py +1 -2
- asset3d_gen/scripts/render_mv.py +0 -1
- asset3d_gen/utils/gpt_clients.py +0 -1
- asset3d_gen/validators/aesthetic_predictor.py +0 -2
- thirdparty/TRELLIS/trellis/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/models/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/modules/sparse/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/modules/sparse/__pycache__/basic.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/pipelines/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/pipelines/__pycache__/base.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/pipelines/__pycache__/trellis_image_to_3d.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/base.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/classifier_free_guidance_mixin.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/flow_euler.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/guidance_interval_mixin.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/renderers/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/renderers/__pycache__/gaussian_render.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/renderers/__pycache__/mesh_renderer.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/renderers/__pycache__/octree_renderer.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/renderers/__pycache__/sh_utils.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/gaussian/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/gaussian/__pycache__/gaussian_model.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/gaussian/__pycache__/general_utils.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/mesh/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/mesh/__pycache__/cube2mesh.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/mesh/__pycache__/utils_cube.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/mesh/flexicubes/__pycache__/flexicubes.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/mesh/flexicubes/__pycache__/tables.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/octree/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/octree/__pycache__/octree_dfs.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/radiance_field/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/representations/radiance_field/__pycache__/strivec.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/utils/__pycache__/__init__.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/utils/__pycache__/postprocessing_utils.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/utils/__pycache__/random_utils.cpython-310.pyc +0 -0
- thirdparty/TRELLIS/trellis/utils/__pycache__/render_utils.cpython-310.pyc +0 -0
- thirdparty/__pycache__/__init__.cpython-310.pyc +0 -0
asset3d_gen/data/backup/gpt_qwen.py
CHANGED
@@ -2,7 +2,7 @@ import torch
|
|
2 |
from transformers import Qwen2_5_VLForConditionalGeneration, AutoTokenizer, AutoProcessor
|
3 |
from qwen_vl_utils import process_vision_info
|
4 |
import os
|
5 |
-
|
6 |
|
7 |
|
8 |
# # default: Load the model on the available device(s)
|
|
|
2 |
from transformers import Qwen2_5_VLForConditionalGeneration, AutoTokenizer, AutoProcessor
|
3 |
from qwen_vl_utils import process_vision_info
|
4 |
import os
|
5 |
+
os.environ["https_proxy"] = "10.9.0.31:8838"
|
6 |
|
7 |
|
8 |
# # default: Load the model on the available device(s)
|
asset3d_gen/models/delight.py
CHANGED
@@ -12,8 +12,6 @@ from huggingface_hub import snapshot_download
|
|
12 |
from PIL import Image
|
13 |
from asset3d_gen.models.segment import RembgRemover
|
14 |
|
15 |
-
# os.environ["https_proxy"] = "http://10.9.0.31:8838"
|
16 |
-
|
17 |
|
18 |
__all__ = [
|
19 |
"DelightingModel",
|
|
|
12 |
from PIL import Image
|
13 |
from asset3d_gen.models.segment import RembgRemover
|
14 |
|
|
|
|
|
15 |
|
16 |
__all__ = [
|
17 |
"DelightingModel",
|
asset3d_gen/models/segment.py
CHANGED
@@ -19,7 +19,6 @@ from asset3d_gen.validators.quality_checkers import ImageSegChecker
|
|
19 |
logging.basicConfig(level=logging.INFO)
|
20 |
logger = logging.getLogger(__name__)
|
21 |
|
22 |
-
# os.environ["https_proxy"] = "http://10.9.0.31:8838"
|
23 |
|
24 |
__all__ = [
|
25 |
"resize_pil",
|
|
|
19 |
logging.basicConfig(level=logging.INFO)
|
20 |
logger = logging.getLogger(__name__)
|
21 |
|
|
|
22 |
|
23 |
__all__ = [
|
24 |
"resize_pil",
|
asset3d_gen/models/super_resolution.py
CHANGED
@@ -4,11 +4,10 @@ from typing import Union
|
|
4 |
|
5 |
import numpy as np
|
6 |
import torch
|
7 |
-
from huggingface_hub import
|
8 |
from PIL import Image
|
9 |
from asset3d_gen.data.utils import get_images_from_grid
|
10 |
|
11 |
-
# os.environ["https_proxy"] = "http://10.9.0.31:8838"
|
12 |
|
13 |
logging.basicConfig(
|
14 |
format="%(asctime)s - %(levelname)s - %(message)s", level=logging.INFO
|
|
|
4 |
|
5 |
import numpy as np
|
6 |
import torch
|
7 |
+
from huggingface_hub import snapshot_download
|
8 |
from PIL import Image
|
9 |
from asset3d_gen.data.utils import get_images_from_grid
|
10 |
|
|
|
11 |
|
12 |
logging.basicConfig(
|
13 |
format="%(asctime)s - %(levelname)s - %(message)s", level=logging.INFO
|
asset3d_gen/scripts/render_mv.py
CHANGED
@@ -15,7 +15,6 @@ from torchvision import transforms
|
|
15 |
from asset3d_gen.data.datasets import Asset3dGenDataset
|
16 |
from asset3d_gen.models.texture_model import build_texture_gen_pipe
|
17 |
|
18 |
-
# os.environ["https_proxy"] = "http://10.9.0.31:8838"
|
19 |
|
20 |
logging.basicConfig(level=logging.INFO)
|
21 |
logger = logging.getLogger(__name__)
|
|
|
15 |
from asset3d_gen.data.datasets import Asset3dGenDataset
|
16 |
from asset3d_gen.models.texture_model import build_texture_gen_pipe
|
17 |
|
|
|
18 |
|
19 |
logging.basicConfig(level=logging.INFO)
|
20 |
logger = logging.getLogger(__name__)
|
asset3d_gen/utils/gpt_clients.py
CHANGED
@@ -16,7 +16,6 @@ from asset3d_gen.utils.process_media import combine_images_to_base64
|
|
16 |
|
17 |
logging.basicConfig(level=logging.INFO)
|
18 |
logger = logging.getLogger(__name__)
|
19 |
-
# os.environ["https_proxy"] = "10.9.0.31:8838"
|
20 |
|
21 |
|
22 |
class GPTclient:
|
|
|
16 |
|
17 |
logging.basicConfig(level=logging.INFO)
|
18 |
logger = logging.getLogger(__name__)
|
|
|
19 |
|
20 |
|
21 |
class GPTclient:
|
asset3d_gen/validators/aesthetic_predictor.py
CHANGED
@@ -8,8 +8,6 @@ import torch.nn as nn
|
|
8 |
from huggingface_hub import snapshot_download
|
9 |
from PIL import Image
|
10 |
|
11 |
-
# os.environ["https_proxy"] = "http://10.9.0.31:8838"
|
12 |
-
|
13 |
|
14 |
class AestheticPredictor:
|
15 |
"""Aesthetic Score Predictor.
|
|
|
8 |
from huggingface_hub import snapshot_download
|
9 |
from PIL import Image
|
10 |
|
|
|
|
|
11 |
|
12 |
class AestheticPredictor:
|
13 |
"""Aesthetic Score Predictor.
|
thirdparty/TRELLIS/trellis/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (379 Bytes)
|
|
thirdparty/TRELLIS/trellis/models/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (2.3 kB)
|
|
thirdparty/TRELLIS/trellis/modules/sparse/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (2.6 kB)
|
|
thirdparty/TRELLIS/trellis/modules/sparse/__pycache__/basic.cpython-310.pyc
DELETED
Binary file (15.2 kB)
|
|
thirdparty/TRELLIS/trellis/pipelines/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (948 Bytes)
|
|
thirdparty/TRELLIS/trellis/pipelines/__pycache__/base.cpython-310.pyc
DELETED
Binary file (2.37 kB)
|
|
thirdparty/TRELLIS/trellis/pipelines/__pycache__/trellis_image_to_3d.cpython-310.pyc
DELETED
Binary file (13.4 kB)
|
|
thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (367 Bytes)
|
|
thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/base.cpython-310.pyc
DELETED
Binary file (672 Bytes)
|
|
thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/classifier_free_guidance_mixin.cpython-310.pyc
DELETED
Binary file (870 Bytes)
|
|
thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/flow_euler.cpython-310.pyc
DELETED
Binary file (7.74 kB)
|
|
thirdparty/TRELLIS/trellis/pipelines/samplers/__pycache__/guidance_interval_mixin.cpython-310.pyc
DELETED
Binary file (946 Bytes)
|
|
thirdparty/TRELLIS/trellis/renderers/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (917 Bytes)
|
|
thirdparty/TRELLIS/trellis/renderers/__pycache__/gaussian_render.cpython-310.pyc
DELETED
Binary file (5.51 kB)
|
|
thirdparty/TRELLIS/trellis/renderers/__pycache__/mesh_renderer.cpython-310.pyc
DELETED
Binary file (4.59 kB)
|
|
thirdparty/TRELLIS/trellis/renderers/__pycache__/octree_renderer.cpython-310.pyc
DELETED
Binary file (7.35 kB)
|
|
thirdparty/TRELLIS/trellis/renderers/__pycache__/sh_utils.cpython-310.pyc
DELETED
Binary file (2.59 kB)
|
|
thirdparty/TRELLIS/trellis/representations/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (385 Bytes)
|
|
thirdparty/TRELLIS/trellis/representations/gaussian/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (260 Bytes)
|
|
thirdparty/TRELLIS/trellis/representations/gaussian/__pycache__/gaussian_model.cpython-310.pyc
DELETED
Binary file (8.43 kB)
|
|
thirdparty/TRELLIS/trellis/representations/gaussian/__pycache__/general_utils.cpython-310.pyc
DELETED
Binary file (4.82 kB)
|
|
thirdparty/TRELLIS/trellis/representations/mesh/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (290 Bytes)
|
|
thirdparty/TRELLIS/trellis/representations/mesh/__pycache__/cube2mesh.cpython-310.pyc
DELETED
Binary file (5.16 kB)
|
|
thirdparty/TRELLIS/trellis/representations/mesh/__pycache__/utils_cube.cpython-310.pyc
DELETED
Binary file (3.04 kB)
|
|
thirdparty/TRELLIS/trellis/representations/mesh/flexicubes/__pycache__/flexicubes.cpython-310.pyc
DELETED
Binary file (12.2 kB)
|
|
thirdparty/TRELLIS/trellis/representations/mesh/flexicubes/__pycache__/tables.cpython-310.pyc
DELETED
Binary file (24.1 kB)
|
|
thirdparty/TRELLIS/trellis/representations/octree/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (255 Bytes)
|
|
thirdparty/TRELLIS/trellis/representations/octree/__pycache__/octree_dfs.cpython-310.pyc
DELETED
Binary file (13.1 kB)
|
|
thirdparty/TRELLIS/trellis/representations/radiance_field/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (258 Bytes)
|
|
thirdparty/TRELLIS/trellis/representations/radiance_field/__pycache__/strivec.cpython-310.pyc
DELETED
Binary file (1.16 kB)
|
|
thirdparty/TRELLIS/trellis/utils/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (194 Bytes)
|
|
thirdparty/TRELLIS/trellis/utils/__pycache__/postprocessing_utils.cpython-310.pyc
DELETED
Binary file (19.4 kB)
|
|
thirdparty/TRELLIS/trellis/utils/__pycache__/random_utils.cpython-310.pyc
DELETED
Binary file (1.41 kB)
|
|
thirdparty/TRELLIS/trellis/utils/__pycache__/render_utils.cpython-310.pyc
DELETED
Binary file (4.58 kB)
|
|
thirdparty/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (172 Bytes)
|
|