Skip to content

Commit 692c825

Browse files
fix the bugs
1 parent e9e1186 commit 692c825

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ You can star this repository to keep track of the project if it's helpful for yo
2121
| garbageclassifier | 垃圾分类器 | [click](https://mp.weixin.qq.com/s/n6eKeuhmg6YFgQLVvm3LDg) | [click](./deeplearningtoys/garbageclassifier) | [click](https://github.com/CharlesPikachu/deeplearningtoys/releases/tag/garbageclassifier) |
2222
| facevaluepredictor | 颜值预测器 | [click](https://mp.weixin.qq.com/s/5eVFPMiFA8VhYYlTHlNh1A) | [click](./deeplearningtoys/facevaluepredictor) | [click](https://github.com/CharlesPikachu/deeplearningtoys/releases/tag/facevaluepredictor) |
2323
| dancenet | 神经网络生成会跳舞的小姐姐 | [click](https://mp.weixin.qq.com/s/fFqztmu8hk5Jje9EUrP8DQ) | [click](./deeplearningtoys/dancenet) | [click](https://github.com/CharlesPikachu/deeplearningtoys/releases/tag/dancenet) |
24+
| CNNLifeGame | 用卷积神经网络模拟生命游戏 | [click](https://mp.weixin.qq.com/s/7_Do3TNG5tlUPE1pn-dd9w) | [click](./deeplearningtoys/CNNLifeGame) | [click](https://github.com/CharlesPikachu/deeplearningtoys/releases/tag/CNNLifeGame) |
25+
| deepdream | 让卷积神经网络做一个梦 | [click](https://mp.weixin.qq.com/s/iIhiMKutVtYEUgAiErLkVQ) | [click](./deeplearningtoys/deepdream) | [click](https://github.com/CharlesPikachu/deeplearningtoys/releases/tag/deepdream) |
2426

2527

2628
# Projects in Charles_pikachu

deeplearningtoys/dancenet/inference.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def parseArgs():
2929

3030

3131
'''模型测试'''
32-
class Inferencer(QWidget):
33-
def __init__(self, opts, title='颜值预测器 —— Charles的皮卡丘', **kwargs):
32+
class Inferencer():
33+
def __init__(self, opts, title='神经网络生成会跳舞的小姐姐测试脚本 —— Charles的皮卡丘', **kwargs):
3434
self.opts = opts
3535
'''运行'''
3636
def run(self):

deeplearningtoys/dancenet/modules/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ def extractImagesFromVideo(videopath, savedir='images', frame_interval=3, target
5757
img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
5858
savepath = os.path.join(savedir, str(len(os.listdir(savedir))+1)+'.jpg')
5959
cv2.imwrite(savepath, img)
60+
else:
61+
break
6062

6163

6264
'''保存模型'''

0 commit comments

Comments
 (0)