Buckets:
twanghcmut/backup-foundation-physics / third_party /sam-3d-objects /sam3d_objects /pipeline /depth_models /base.py
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| import torch | |
| class DepthModel: | |
| def __init__(self, model, device="cuda"): | |
| self.model = model | |
| self.device = torch.device(device) | |
| self.model.to(self.device) | |
| self.model.eval() | |
| def __call__(self, image): | |
| pass |
Xet Storage Details
- Size:
- 307 Bytes
- Xet hash:
- 92006eca54909425d502f8143e6d0222b1a032797619fcc777dbaf78435fd6d6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.