17 Commits
Author SHA1 Message Date
喵哩个咪 a0b8910cd0 Merge pull request #22 from userElaina/main
fix: `NoneType` object has no attribute `copy` in old version
2026-04-08 14:57:01 +08:00
userElaina bfa7241543 fix: NoneType object has no attribute copy in old version 2026-04-04 03:13:55 +00:00
喵哩个咪 cc2faae052 Merge pull request #20 from ComfyNodePRs/update-publish-yaml
Update Github Action for Publishing to Comfy Registry
2025-02-24 14:08:49 +08:00
snomiao 6e5ee6044a chore(publish): update workflow to use specific action version and adjust permissions 2025-01-20 21:33:18 +00:00
喵哩个咪 9c60ef9046 Merge pull request #15 from MinusZoneAI/dev
Fix some problems
2024-07-09 20:42:11 +08:00
喵哩个咪 18c0abe5b2 Merge pull request #14 from MinusZoneAI/dev
'update'
2024-07-08 21:35:27 +08:00
喵哩个咪 d518a2f31e Merge pull request #13 from MinusZoneAI/dev
fix
2024-07-08 20:59:12 +08:00
喵哩个咪 6bd04f06e2 Merge pull request #11 from MinusZoneAI/dev
'update'
2024-07-06 18:32:07 +08:00
喵哩个咪 ebeb2c1bf3 Merge pull request #10 from MinusZoneAI/dev
Dev
2024-07-06 17:42:43 +08:00
喵哩个咪 b0dd687433 Merge pull request #9 from MinusZoneAI/dev
Dev
2024-07-06 01:20:24 +08:00
喵哩个咪 f8418440e7 Merge pull request #8 from MinusZoneAI/dev
Dev
2024-07-06 01:11:35 +08:00
喵哩个咪 1383e803db Merge pull request #7 from MinusZoneAI/dev
Dev
2024-07-06 01:05:14 +08:00
喵哩个咪 015267c8c0 Merge pull request #6 from MinusZoneAI/dev
Dev
2024-07-05 00:07:44 +08:00
wailovet 17c3256867 'update' 2024-06-26 12:07:33 +08:00
wailovet 996c94edde Merge branch 'main' of https://github.com/MinusZoneAI/ComfyUI-TrainTools-MZ into main 2024-06-26 11:54:56 +08:00
wailovet 8125869ef7 'update' 2024-06-26 11:54:29 +08:00
喵哩个咪 4a956a036d Merge pull request #3 from MinusZoneAI/dev
Dev
2024-06-24 00:19:44 +08:00
3 changed files with 16 additions and 4 deletions
+5 -3
View File
@@ -7,17 +7,19 @@ on:
paths:
- "pyproject.toml"
permissions:
issues: write
jobs:
publish-node:
name: Publish Custom Node to registry
runs-on: ubuntu-latest
# if this is a forked repository. Skipping the workflow.
if: github.event.repository.fork == false
if: ${{ github.repository_owner == 'MinusZoneAI' }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@main
uses: Comfy-Org/publish-node-action@v1
with:
## Add your own personal access token to your Github Repository secrets and reference it here.
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
+5
View File
@@ -293,6 +293,11 @@ class MZ_KohyaSSTrain_oldversion:
def start(self, **kwargs):
importlib.reload(mz_train_tools_core)
train_config = kwargs.get("train_config", "empty").copy()
if isinstance(train_config, dict):
for i in train_config:
if i not in kwargs:
kwargs[i] = train_config[i]
return mz_train_tools_core.MZ_KohyaSSTrain_call(kwargs)
+6 -1
View File
@@ -34,8 +34,13 @@ import numpy as np
import tempfile
import safetensors.torch
import hook_kohya_ss_utils
import sys
sys.path.append(os.path.dirname(__file__))
try:
import hook_kohya_ss_utils
except:
from . import hook_kohya_ss_utils
other_config = {}
original_save_model = None