Skip to content

Commit

Permalink
Precommit fix
Browse files Browse the repository at this point in the history
Signed-off-by: heyufan1995 <[email protected]>
  • Loading branch information
heyufan1995 committed Sep 3, 2024
1 parent 4dc5c46 commit f6308df
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 84 deletions.
4 changes: 2 additions & 2 deletions vista3d/NVIDIA OneWay Noncommercial License.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Works are “made available” under this license by including in or with the Wo

4. Disclaimer of Warranty.

THE WORK IS PROVIDED “AS IS” WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT. YOU BEAR THE RISK OF UNDERTAKING ANY ACTIVITIES UNDER THIS LICENSE.
THE WORK IS PROVIDED “AS IS” WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT. YOU BEAR THE RISK OF UNDERTAKING ANY ACTIVITIES UNDER THIS LICENSE.

5. Limitation of Liability.

Expand Down
6 changes: 3 additions & 3 deletions vista3d/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ pip install -r requirements.txt
Download the [model checkpoint](https://drive.google.com/file/d/1eLIxQwnxGsjggxiVjdcAyNvJ5DYtqmdc/view?usp=sharing) and save it at ./models/model.pt.

### Inference
The [NIM Demo (VISTA3D NVIDIA Inference Microservices)](https://build.nvidia.com/nvidia/vista-3d) does not support medical data upload due to legal concerns.
We provide scripts for inference locally. The automatic segmentation label definition can be found at [label_dict](./data/jsons/label_dict.json).
The [NIM Demo (VISTA3D NVIDIA Inference Microservices)](https://build.nvidia.com/nvidia/vista-3d) does not support medical data upload due to legal concerns.
We provide scripts for inference locally. The automatic segmentation label definition can be found at [label_dict](./data/jsons/label_dict.json).
1. We provide the `infer.py` script and its light-weight front-end `debugger.py`. User can directly lauch a local interface for both automatic and interactive segmentation.
```
python -m scripts.debugger run
Expand Down Expand Up @@ -154,7 +154,7 @@ We provide scripts to run SAM2 evaluation. Modify SAM2 source code to support ba
async_loading_frames=async_loading_frames,
)
if z_slice is not None:
images = images[z_slice]
images = images[z_slice]
```
Run evaluation
```
Expand Down
2 changes: 1 addition & 1 deletion vista3d/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ einops==0.6.1
ml-collections
timm
pytorch-ignite
tensorboardX
tensorboardX
Loading

0 comments on commit f6308df

Please sign in to comment.