forked from Pointcept/Pointcept
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
136 additions
and
112 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 2,7 @@ | |
The part of attention operations is written by Xin Lai. | ||
Email: [email protected] | ||
""" | ||
|
||
from typing import Tuple | ||
|
||
import torch | ||
|
This file contains 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
1 change: 1 addition & 0 deletions
1
pointcept/datasets/preprocessing/arkitscenes/preprocess_arkitscenes_mesh.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 1,7 @@ | ||
""" | ||
Preprocessing ArkitScenes | ||
""" | ||
|
||
import os | ||
import argparse | ||
import glob | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 4,7 @@ | |
Author: Xiaoyang Wu ([email protected]) | ||
Please cite our work if the code is helpful to you. | ||
""" | ||
|
||
from functools import partial | ||
from collections import OrderedDict | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 4,7 @@ | |
Author: Xiaoyang Wu ([email protected]) | ||
Please cite our work if the code is helpful to you. | ||
""" | ||
|
||
from functools import partial | ||
from collections import OrderedDict | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 6,7 @@ | |
Author: Xiaoyang Wu ([email protected]) | ||
Please cite our work if the code is helpful to you. | ||
""" | ||
|
||
from functools import partial | ||
from copy import deepcopy | ||
import math | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 6,7 @@ | |
Author: Xiaoyang Wu ([email protected]) | ||
Please cite our work if the code is helpful to you. | ||
""" | ||
|
||
from functools import partial | ||
from collections import OrderedDict | ||
|
||
|
@@ -328,23 329,25 @@ def __init__( | |
OrderedDict( | ||
[ | ||
( | ||
f"block{i}", | ||
block( | ||
dec_channels enc_channels, | ||
dec_channels, | ||
norm_fn=norm_fn, | ||
indice_key=f"subm{s}", | ||
), | ||
) | ||
if i == 0 | ||
else ( | ||
f"block{i}", | ||
block( | ||
dec_channels, | ||
dec_channels, | ||
norm_fn=norm_fn, | ||
indice_key=f"subm{s}", | ||
), | ||
( | ||
f"block{i}", | ||
block( | ||
dec_channels enc_channels, | ||
dec_channels, | ||
norm_fn=norm_fn, | ||
indice_key=f"subm{s}", | ||
), | ||
) | ||
if i == 0 | ||
else ( | ||
f"block{i}", | ||
block( | ||
dec_channels, | ||
dec_channels, | ||
norm_fn=norm_fn, | ||
indice_key=f"subm{s}", | ||
), | ||
) | ||
) | ||
for i in range(layers[len(channels) - s - 1]) | ||
] | ||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.