Update README.md

This commit is contained in:
daxcay
2024-06-12 13:41:27 +05:30
committed by GitHub
parent 9bd892ff2b
commit 84064f058f
+18 -18
View File
@@ -1,22 +1,22 @@
![BANNER](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/dadc0da1-cd5b-485f-88a7-294888fb8f71)
![BANNER](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/dadc0da1-cd5b-485f-88a7-294888fb8f71)
# ComfyUI-DRMN
# ComfyUI-DataSet
ComfyUI-DRMN, Data Research And Manipulators Nodes for Model Trainers, Artists, Designers and Animators. Captions, Visualizers, Text Manipulators
ComfyUI-DataSet, Data Research And Manipulators Nodes for Model Trainers, Artists, Designers and Animators. Captions, Visualizers, Text Manipulators
You can contact me on my discord server: https://discord.gg/Z44Zjpurjp
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/b7d4a51d-6f23-43cc-bc40-c8ae469199e2)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/b7d4a51d-6f23-43cc-bc40-c8ae469199e2)
## 1. DRMN_CaptionVisualizer
This node helps anyone to visualize captions in 3 different forms: word cloud, networkgraph and frequency graph.
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/56c86908-8055-495f-a433-2e09dd3b3e5c)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/56c86908-8055-495f-a433-2e09dd3b3e5c)
### Workflow
[CaptionVisualizer.json](https://github.com/daxcay/ComfyUI-DRMN/files/15160084/CaptionVisualizer.json)
[CaptionVisualizer.json](https://github.com/daxcay/ComfyUI-DataSet/files/15160084/CaptionVisualizer.json)
### Inputs
@@ -38,7 +38,7 @@ FrequencyGraphTop: Integer will select top N data to make freqency graph
3 Images of **Word Cloud, Network graph, and Frequency graph** respectively.
Images are also saved in ```visualize``` folder where the caption files are stored.
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/3371d531-ad4c-4e72-ae00-43d71e4a87a6)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/3371d531-ad4c-4e72-ae00-43d71e4a87a6)
## 2. DRMN_TXTFileSaver
@@ -46,9 +46,9 @@ Images are also saved in ```visualize``` folder where the caption files are stor
Saves text file in an innovative way. has mode Merge | Overwrite | SaveNew | MergeAndSaveNew.
Useful for caption creators and manipulators.
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/de0fcc4a-0947-4655-906e-0bcf7421e283)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/de0fcc4a-0947-4655-906e-0bcf7421e283)
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/435400d0-c9dd-46ad-8192-22398f8f3247)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/435400d0-c9dd-46ad-8192-22398f8f3247)
### Inputs
@@ -82,7 +82,7 @@ Text file in directory.
There may be a possiblity where you named your caption file with the same name as your image file (without extension 😅).
This node is useful then. You can add a concept in all the caption files at once.
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/55cca034-7ef0-45a7-b872-8732242a884f)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/55cca034-7ef0-45a7-b872-8732242a884f)
### Inputs
@@ -92,7 +92,7 @@ ImageNames: List of image names
Image names can be generated using this JDCN node
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/1a35dd7e-e754-45e6-8d53-9493c7da5c7d)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/1a35dd7e-e754-45e6-8d53-9493c7da5c7d)
```
Tags directory: directory of the caption files.
@@ -141,14 +141,14 @@ In case you made an error you can use backup folder files.
Tags directory will have something like this.
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/15d27de2-6b99-4a32-92c4-3796ff4ae4d1)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/15d27de2-6b99-4a32-92c4-3796ff4ae4d1)
## 3. DRMN_SearchAndReplace
Helps anyone manipulate caption files to search for a given text in ```SearchFor``` and replace it with the given ```ReplaceWith``` text.
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/8bec970d-4de9-4c99-a491-b490cdd64072)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/8bec970d-4de9-4c99-a491-b490cdd64072)
### Inputs
@@ -157,7 +157,7 @@ TextFilePathList: text file path list
```
You can use this to get the file path list
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/db148bff-46c0-4fe2-b0c5-0cc91c2d71d8)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/db148bff-46c0-4fe2-b0c5-0cc91c2d71d8)
```
SearchFor: search for a string you give. it can be any thing (no regex simple plain string 😅)
@@ -176,21 +176,21 @@ ________________________________________________________________________________
# Installation
1) Using ```comfy-cli``` (https://github.com/yoland68/comfy-cli)
```
comfy node registry-install comfyui-drmn
comfy node registry-install ComfyUI-DataSet
```
2) Manual Method
- Go to your Comfyui > Custom Nodes folder
- Run CMD from folder path box or right click on empty area and click open in terminal.
- Copy and Paste this command `git clone https://github.com/daxcay/ComfyUI-DRMN.git`
- Then go inside ComfyUI-DRMN with cmd or open new.
- Copy and Paste this command `git clone https://github.com/daxcay/ComfyUI-DataSet.git`
- Then go inside ComfyUI-DataSet with cmd or open new.
- and type `pip install -r requirements.txt` to install the requirements.
3) Automatic Method with [Comfy Manager](https://github.com/ltdrdata/ComfyUI-Manager)
- Inside ComfyUI > Click Manager Button on Side.
- Click `Install Custom Node` and Search for DRMN and Install this node:
![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/4fdcf3cc-186d-4e36-9ffb-d34a1b48de2c)
![image](https://github.com/daxcay/ComfyUI-DataSet/assets/164315771/4fdcf3cc-186d-4e36-9ffb-d34a1b48de2c)
- Restart ComfyUI and it should be good to go