foobar167's picture
Add predict and setup files
42633df
Raw
History Blame Contribute Delete
1.64 kB
@echo off
rem ==============================================================================
rem Automated Environment Setup Batch Execution Layer for Windows x64 Platforms
rem Based on UIIP NASB Virtual Environment Deployment Guidelines
rem ==============================================================================
echo [1/5] Fetching secure Miniconda standalone distribution installer...
powershell -Command "Invoke-WebRequest -Uri 'https://anaconda.com' -OutFile 'miniconda_installer.exe'"
echo Provisioning system directories and deploying runtime components...
start /wait "" miniconda_installer.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%\miniconda3
del miniconda_installer.exe
call %UserProfile%\miniconda3\Scripts\activate.bat
echo [2/5] Synthesizing isolated virtual sandbox lab225_env using Python 3.12...
call conda create --name lab225_env python=3.12 -y
call conda activate lab225_env
echo [3/5] Fetching targeted PyTorch wheels and neural processing dependencies...
call pip install --upgrade pip
call pip install torch torchvision --index-url https://pytorch.org
echo [4/5] Deploying Hugging Face extensions and diagnostic image tools...
call pip install transformers[torch] datasets huggingface_hub timm evaluate safetensors fastai
call pip install matplotlib scipy numpy opencv-python pillow scikit-learn scikit-image pandas ipython jupyter tqdm graphviz
call pip install nibabel pytest einops nltk albumentations
echo [5/5] Verification loop successfully terminated.
echo Reactivate environment context layer before calling evaluation macros:
echo conda activate lab225_env
pause