Update eval_wrapper/eval.py
Browse files- eval_wrapper/eval.py +11 -11
eval_wrapper/eval.py
CHANGED
@@ -10,17 +10,17 @@ sys.path.append(current_dir)
|
|
10 |
|
11 |
from eval_wrapper.sample_poses import pointmap_to_poses
|
12 |
from utils.fusion import fuse_batch
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
|
25 |
class EvalWrapper(torch.nn.Module):
|
26 |
def __init__(self,checkpoint_path,distributed=False,device="cpu",dtype=torch.float32,**kwargs):
|
|
|
10 |
|
11 |
from eval_wrapper.sample_poses import pointmap_to_poses
|
12 |
from utils.fusion import fuse_batch
|
13 |
+
from models.rayquery import *
|
14 |
+
from models.losses import *
|
15 |
+
import argparse
|
16 |
+
from utils import misc
|
17 |
+
import torch.distributed as dist
|
18 |
+
from utils.collate import collate
|
19 |
+
from engine import eval_model
|
20 |
+
from utils.viz import just_load_viz
|
21 |
+
from utils.geometry import compute_pointmap_torch
|
22 |
+
from eval_wrapper.eval_utils import filter_all_masks
|
23 |
+
from huggingface_hub import hf_hub_download
|
24 |
|
25 |
class EvalWrapper(torch.nn.Module):
|
26 |
def __init__(self,checkpoint_path,distributed=False,device="cpu",dtype=torch.float32,**kwargs):
|