Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
videogen
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
videogen
Commits
0a0e2084
Commit
0a0e2084
authored
Feb 25, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add debug script to analyze model selection
parent
ad1c700b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
0 deletions
+62
-0
debug_model_select.py
debug_model_select.py
+62
-0
No files found.
debug_model_select.py
0 → 100644
View file @
0a0e2084
#!/usr/bin/env python3
import
sys
import
os
import
json
from
pathlib
import
Path
def
main
():
# Load models from JSON
config_dir
=
Path
.
home
()
/
".config"
/
"videogen"
models_config_file
=
config_dir
/
"models.json"
if
not
models_config_file
.
exists
():
print
(
f
"❌ Models config not found: {models_config_file}"
)
return
with
open
(
models_config_file
,
'r'
)
as
f
:
config
=
json
.
load
(
f
)
models
=
config
.
get
(
"models"
,
{})
print
(
f
"Loaded {len(models)} models from {models_config_file}"
)
# Look for the specific model in question
model_name
=
"goddess_of_realism_gor_pony_v2art_sdxl"
model_info
=
models
.
get
(
model_name
)
if
model_info
:
print
(
f
"
\n
=== Model: {model_name} ==="
)
print
(
f
" ID: {model_info.get('id')}"
)
print
(
f
" Class: {model_info.get('class')}"
)
print
(
f
" VRAM: {model_info.get('vram')}"
)
print
(
f
" Supports I2V: {model_info.get('supports_i2v', False)}"
)
print
(
f
" Tags: {model_info.get('tags', [])}"
)
print
(
f
" Description: {model_info.get('desc')}"
)
else
:
print
(
f
"❌ Model not found: {model_name}"
)
# Find all models that support I2V
print
(
"
\n
=== I2V-capable models ==="
)
i2v_models
=
[]
for
name
,
info
in
models
.
items
():
supports_i2v
=
info
.
get
(
'supports_i2v'
,
False
)
pipeline_class
=
info
.
get
(
'class'
,
''
)
# Check pipeline class for I2V support
i2v_pipeline
=
any
(
keyword
in
pipeline_class
.
lower
()
for
keyword
in
[
'i2v'
,
'image_to_video'
,
'stablevideodiffusion'
,
'i2vgen'
,
'ltximage'
])
if
supports_i2v
or
i2v_pipeline
:
i2v_models
.
append
((
name
,
info
))
print
(
f
"Found {len(i2v_models)} I2V-capable models:"
)
for
i
,
(
name
,
info
)
in
enumerate
(
i2v_models
[:
10
]):
print
(
f
"{i+1}. {name} ({info.get('class')})"
)
print
(
f
" {info.get('id')}"
)
# Look for the model in the results
model_in_i2v
=
any
(
name
==
model_name
for
name
,
info
in
i2v_models
)
print
(
f
"
\n
Model '{model_name}' in I2V list: {model_in_i2v}"
)
if
__name__
==
"__main__"
:
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment