fix: simple
This commit is contained in:
@@ -8,7 +8,11 @@ echo ========================================
|
|||||||
echo.
|
echo.
|
||||||
|
|
||||||
call conda activate photo_judgers
|
call conda activate photo_judgers
|
||||||
|
if errorlevel 1 (
|
||||||
|
echo Failed to activate conda environment!
|
||||||
|
pause
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
echo Running scorer...
|
echo Running scorer...
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,8 +1,6 @@
|
|||||||
"""LAION Aesthetic Predictor V2 scorer."""
|
"""LAION Aesthetic Predictor V2 scorer."""
|
||||||
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
|
|
||||||
class LaionScorer:
|
class LaionScorer:
|
||||||
"""LAION V2 aesthetic scorer — CLIP-based, 0-10 scale."""
|
"""LAION V2 aesthetic scorer — CLIP-based, 0-10 scale."""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user