MRBSTUDIO commited on
Commit
802a2db
·
verified ·
1 Parent(s): fb3460f

Update the project page and code links

Browse files
README.md CHANGED
@@ -19,8 +19,8 @@ AGT reconstructs a complete 4D Gaussian scene from a driving video whose every f
19
  the dashboard, windshield reflections or watermarks. It reconstructs what some frame observes in a single forward
20
  pass, and generates only what no frame observes.
21
 
22
- - Project page: https://mrbxcd.github.io/p2603-website/
23
- - Code: https://github.com/MRBXCD/AGT (a copy of the code is in the `code/` folder of this repository)
24
  - Dataset: https://huggingface.co/datasets/MRBSTUDIO/AmodalDrive
25
  - Paper: arXiv, coming soon
26
 
 
19
  the dashboard, windshield reflections or watermarks. It reconstructs what some frame observes in a single forward
20
  pass, and generates only what no frame observes.
21
 
22
+ - Project page: https://agt4d.github.io/
23
+ - Code: https://github.com/phai-lab/AGT (a copy of the code is in the `code/` folder of this repository)
24
  - Dataset: https://huggingface.co/datasets/MRBSTUDIO/AmodalDrive
25
  - Paper: arXiv, coming soon
26
 
code/README.md CHANGED
@@ -3,7 +3,7 @@
3
  # AGT: Amodal 4D Reconstruction from Obstructed Driving Videos
4
 
5
  [![arXiv](https://img.shields.io/badge/arXiv-coming%20soon-b31b1b.svg)](#citation)
6
- [![Project Page](https://img.shields.io/badge/Project-Page-2ea44f.svg)](https://mrbxcd.github.io/p2603-website/)
7
  [![Weights](https://img.shields.io/badge/%F0%9F%A4%97%20Weights-MRBSTUDIO%2FAGT-ffcc4d.svg)](https://huggingface.co/MRBSTUDIO/AGT)
8
  [![Dataset](https://img.shields.io/badge/%F0%9F%A4%97%20Dataset-AmodalDrive-ffcc4d.svg)](https://huggingface.co/datasets/MRBSTUDIO/AmodalDrive)
9
 
@@ -45,7 +45,7 @@ the dashboard, windshield reflections or watermarks.
45
  ## Installation
46
 
47
  ```bash
48
- git clone https://github.com/MRBXCD/AGT.git
49
  cd AGT
50
  ```
51
 
 
3
  # AGT: Amodal 4D Reconstruction from Obstructed Driving Videos
4
 
5
  [![arXiv](https://img.shields.io/badge/arXiv-coming%20soon-b31b1b.svg)](#citation)
6
+ [![Project Page](https://img.shields.io/badge/Project-Page-2ea44f.svg)](https://agt4d.github.io/)
7
  [![Weights](https://img.shields.io/badge/%F0%9F%A4%97%20Weights-MRBSTUDIO%2FAGT-ffcc4d.svg)](https://huggingface.co/MRBSTUDIO/AGT)
8
  [![Dataset](https://img.shields.io/badge/%F0%9F%A4%97%20Dataset-AmodalDrive-ffcc4d.svg)](https://huggingface.co/datasets/MRBSTUDIO/AmodalDrive)
9
 
 
45
  ## Installation
46
 
47
  ```bash
48
+ git clone https://github.com/phai-lab/AGT.git
49
  cd AGT
50
  ```
51
 
code/THIRD_PARTY_NOTICES.md CHANGED
@@ -33,7 +33,7 @@ SegFormer sky masks of `datasets/tools/extract_masks.py` (`agt/recon/sky.py`).
33
 
34
  | Model | Used for | Source |
35
  |---|---|---|
36
- | FLUX.1-Fill-dev | frame-0 completion | https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev (FLUX.1 [dev] Non-Commercial License) |
37
  | SegFormer-B5 Cityscapes | sky masks | https://huggingface.co/nvidia/segformer-b5-finetuned-cityscapes-1024-1024 (NVIDIA licence) |
38
  | TAPIP3D checkpoint | dynamic-object tracking between input frames | https://huggingface.co/zbww/tapip3d (`tapip3d_final.pth`) |
39
  | CoTracker3 (torch.hub) | feature encoder initialisation inside TAPIP3D | https://github.com/facebookresearch/co-tracker |
 
33
 
34
  | Model | Used for | Source |
35
  |---|---|---|
36
+ | FLUX.1-Fill-dev | generative completion | https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev (FLUX.1 [dev] Non-Commercial License) |
37
  | SegFormer-B5 Cityscapes | sky masks | https://huggingface.co/nvidia/segformer-b5-finetuned-cityscapes-1024-1024 (NVIDIA licence) |
38
  | TAPIP3D checkpoint | dynamic-object tracking between input frames | https://huggingface.co/zbww/tapip3d (`tapip3d_final.pth`) |
39
  | CoTracker3 (torch.hub) | feature encoder initialisation inside TAPIP3D | https://github.com/facebookresearch/co-tracker |
code/agt/refine/refine.py CHANGED
@@ -117,7 +117,7 @@ def run_clip(cid, a, cfg, lpips_fn, device):
117
  with torch.no_grad():
118
  views = [scene.render(j, colors, theta)[0].clamp(0, 1).float().cpu().numpy() for j in context]
119
  write_handoff(work / 'views' / f'{cid}.npz', np.stack(views), repair[list(context)], context,
120
- dict(clip_id=cid, content='renders of the input frames with the refined frame-0 Gaussians', tau=cfg['tau']))
121
  (work / 'params').mkdir(parents=True, exist_ok=True)
122
  torch.save(dict(colors=colors.cpu(), theta=theta.cpu(), den=scene.den.cpu(), is_u=is_u.cpu()), work / 'params' / f'{cid}.pt')
123
  diag.update(seconds=seconds, frozen=fz, loss_first=losses[0], loss_last=losses[-1])
@@ -168,14 +168,14 @@ def _clips(a):
168
  def main(argv=None):
169
  p = argparse.ArgumentParser(prog='agt.refine.refine')
170
  sub = p.add_subparsers(dest='cmd', required=True)
171
- s = sub.add_parser('run', help='refine frame 0 on the first capture, write the input-frame renders')
172
  s.add_argument('--capture', required=True, help='capture of the first pass')
173
- s.add_argument('--handoff', required=True, help='frame-0 completion (agt.completion.flux_fill)')
174
  s.add_argument('--rel', required=True, help='reliability maps')
175
  s.add_argument('--work', required=True, help='refinement directory (views/, params/, diag/)')
176
  s.add_argument('--config', default=str(CONFIG))
177
  s.add_argument('--clips', nargs='+')
178
- s = sub.add_parser('final', help='transplant the refined frame 0 into the second capture and render')
179
  s.add_argument('--capture', required=True, help='capture with --repaired <work>/views')
180
  s.add_argument('--work', required=True)
181
  s.add_argument('--out', required=True, help='final render directory')
 
117
  with torch.no_grad():
118
  views = [scene.render(j, colors, theta)[0].clamp(0, 1).float().cpu().numpy() for j in context]
119
  write_handoff(work / 'views' / f'{cid}.npz', np.stack(views), repair[list(context)], context,
120
+ dict(clip_id=cid, content='renders of the input frames after scene optimization', tau=cfg['tau']))
121
  (work / 'params').mkdir(parents=True, exist_ok=True)
122
  torch.save(dict(colors=colors.cpu(), theta=theta.cpu(), den=scene.den.cpu(), is_u=is_u.cpu()), work / 'params' / f'{cid}.pt')
123
  diag.update(seconds=seconds, frozen=fz, loss_first=losses[0], loss_last=losses[-1])
 
168
  def main(argv=None):
169
  p = argparse.ArgumentParser(prog='agt.refine.refine')
170
  sub = p.add_subparsers(dest='cmd', required=True)
171
+ s = sub.add_parser('run', help='scene optimization on the first capture; writes the input-frame renders')
172
  s.add_argument('--capture', required=True, help='capture of the first pass')
173
+ s.add_argument('--handoff', required=True, help='output of the generative completion (agt.completion.flux_fill)')
174
  s.add_argument('--rel', required=True, help='reliability maps')
175
  s.add_argument('--work', required=True, help='refinement directory (views/, params/, diag/)')
176
  s.add_argument('--config', default=str(CONFIG))
177
  s.add_argument('--clips', nargs='+')
178
+ s = sub.add_parser('final', help='apply the optimized Gaussians to the second capture and render')
179
  s.add_argument('--capture', required=True, help='capture with --repaired <work>/views')
180
  s.add_argument('--work', required=True)
181
  s.add_argument('--out', required=True, help='final render directory')