solve conflicts

This commit is contained in:
hofee 2025-03-13 14:49:35 +08:00
commit 2fcc650eb7
2 changed files with 7 additions and 7 deletions

View File

@ -7,19 +7,19 @@ runner:
parallel: False parallel: False
experiment: experiment:
name: train_ab_global_only_with_wp_p++_dense name: train_ab_global_only_with_wp_p++_strong
root_dir: "experiments" root_dir: "experiments"
use_checkpoint: False use_checkpoint: False
epoch: -1 # -1 stands for last epoch epoch: -1 # -1 stands for last epoch
max_epochs: 5000 max_epochs: 5000
save_checkpoint_interval: 1 save_checkpoint_interval: 1
test_first: True test_first: False
train: train:
optimizer: optimizer:
type: Adam type: Adam
lr: 0.0001 lr: 0.0001
losses: losses:
- gf_loss - gf_loss
dataset: OmniObject3d_train dataset: OmniObject3d_train
test: test:
@ -39,7 +39,7 @@ dataset:
type: train type: train
cache: True cache: True
ratio: 1 ratio: 1
batch_size: 80 batch_size: 64
num_workers: 128 num_workers: 128
pts_num: 8192 pts_num: 8192
load_from_preprocess: True load_from_preprocess: True
@ -98,7 +98,7 @@ module:
pointnet++_encoder: pointnet++_encoder:
in_dim: 3 in_dim: 3
params_name: dense params_name: strong
transformer_seq_encoder: transformer_seq_encoder:
embed_dim: 256 embed_dim: 256
@ -110,7 +110,7 @@ module:
gf_view_finder: gf_view_finder:
t_feat_dim: 128 t_feat_dim: 128
pose_feat_dim: 256 pose_feat_dim: 256
main_feat_dim: 2048 main_feat_dim: 5120
regression_head: Rx_Ry_and_T regression_head: Rx_Ry_and_T
pose_mode: rot_matrix pose_mode: rot_matrix
per_point_feature: False per_point_feature: False

View File

@ -75,7 +75,7 @@ class NBVReconstructionPipeline(nn.Module):
def forward_test(self, data): def forward_test(self, data):
main_feat = self.get_main_feat(data) main_feat = self.get_main_feat(data)
repeat_num = data.get("repeat_num", 100) repeat_num = data.get("repeat_num", 1)
main_feat = main_feat.repeat(repeat_num, 1) main_feat = main_feat.repeat(repeat_num, 1)
estimated_delta_rot_9d, in_process_sample = self.view_finder.next_best_view( estimated_delta_rot_9d, in_process_sample = self.view_finder.next_best_view(
main_feat main_feat