forked from EricWang12/PartUV
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
41 lines (29 loc) · 1.33 KB
/
setup.bat
File metadata and controls
41 lines (29 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@echo off
REM ===================================================================================================================
REM Ask for Python 3.10 folder
REM ===================================================================================================================
echo Enter the path to your Python 3.10 directory (e.g. C:\Python310\)
echo.
:get_python_path
set /p PYTHON_FOLDER=Python 3.10 Directory:
if not exist "%PYTHON_FOLDER%\python.exe" (
echo.
echo Can't find any python executable here '%PYTHON_FOLDER%\python.exe'.
echo.
goto get_python_path
) else (
set PYTHON_MAIN=%PYTHON_FOLDER%\python.exe
)
REM ---------------------------------------------------------------------------------------------------
REM VENV & PIP
REM ---------------------------------------------------------------------------------------------------
%PYTHON_MAIN% -m venv .venv
call .venv\Scripts\activate
call python -m pip install --upgrade pip
call python -m pip install wheel
pip install -r requirements.txt
REM ---------------------------------------------------------------------------------------------------
REM DOWNLOAD MODEL
REM ---------------------------------------------------------------------------------------------------
wget https://huggingface.co/mikaelaangel/partfield-ckpt/resolve/main/model_objaverse.ckpt ./
pause