Machine learning for perovskite photovoltaics research. Supervised by Dr. Jiawei Gong.
- Install uv (Python package manager):
winget install --id=astral-sh.uv -e
- Clone and install dependencies:
This creates a
git clone https://github.com/GongMLGroup/PerovskiteML cd PerovskiteML uv sync.venvvirtual environment. VS Code will automatically detect it.
After pulling changes:
git pull && uv syncTo enable experiment tracking, set your API token:
Temporary (per session):
:: Command Prompt
set NEPTUNE_API_TOKEN=your_api_key_here# PowerShell
$env:NEPTUNE_API_TOKEN = "your_api_key_here"Permanent:
:: Command Prompt (system-wide)
setx NEPTUNE_API_TOKEN "your_api_key_here"# PowerShell (user-level)
[Environment]::SetEnvironmentVariable("NEPTUNE_API_TOKEN", "your_api_key_here", "User")Restart your terminal after setting permanently.
# Temporary
export NEPTUNE_API_TOKEN="your_api_key_here"# Permanent
echo 'export NEPTUNE_API_TOKEN="your_api_key_here"' >> ~/.bashrc && source ~/.bashrcCheck if token is set:
:: Command Prompt
echo %NEPTUNE_API_TOKEN%# PowerShell
echo $env:NEPTUNE_API_TOKENNote: Replace your_api_key_here with your actual token. Never commit API keys to version control.