-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
Nothing happens except for the two prints. Also, what license does this project have? Cheers!
# python 3.11
python -m pip install torch numpy
# downloaded sam_vit_b_01ec64.pth and put it in checkpoints
python convert-pth-to-ggml.py checkpoints/sam_vit_b_01ec64.pth . 1
mkdir build && cd build
# PS C:\vcpkg> .\vcpkg.exe install sdl2:x64-windows
cmake .. -DCMAKE_TOOLCHAIN_FILE="C:\vcpkg\scripts\buildsystems\vcpkg.cmake"
cmake --build . --config Release
# contains sam.exe and SDL2.dll
cd .\bin\Release\
C:\Code\cpp\sam.cpp\build\bin\Release> .\sam.exe -t 16 -i ../../../img.jpg -m ../../../checkpoints/ggml-model-f16.bin
SDL_main: seed = 1693989358
SDL_main: loaded image '../../../img.jpg' (680 x 453)
PS C:\Code\cpp\sam.cpp\build\bin\Release>
Metadata
Metadata
Assignees
Labels
No labels