Spaces:
Runtime error
Runtime error
Update sam/segment_anything/build_sam.py
#1
by
aikenml
- opened
sam/segment_anything/build_sam.py
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
# This source code is licensed under the license found in the
|
5 |
# LICENSE file in the root directory of this source tree.
|
6 |
|
|
|
7 |
import torch
|
8 |
|
9 |
from functools import partial
|
|
|
4 |
# This source code is licensed under the license found in the
|
5 |
# LICENSE file in the root directory of this source tree.
|
6 |
|
7 |
+
!pip install torch
|
8 |
import torch
|
9 |
|
10 |
from functools import partial
|