InsightFaceLoader not working. "module 'cv2.gapi.wip.draw' has no attribute 'Text'" · Issue #251 · cubiq/ComfyUI_IPAdapter_plus
Debug Logs #ComfyUI Error Report## Error Details-**Node Type:**PulidFluxInsightFaceLoader-**Exception Type:**AssertionError-**Exception Message:**## Stack TraceFile"F:\ComfyUI-aki-v1.4\execution.py",line323,inexecute output_data,output_ui,has_subgraph=get_output_data(obj,input_data_all,ex...
model.fit(train_loader, epochs=num_epochs, criterion=criterion, optimizer=optimizer) 在上面的代码中,train_loader参数是一个数据加载器,用于提供训练数据。num_epochs参数指定了训练的轮数。criterion参数是损失函数,用于计算模型的损失。optimizer参数是优化器,用于更新模型的权重。最后,我们可以使用训练好的模型进行...
load(fp, Loader=yaml.FullLoader) deploy_conf = configs["FACE"] # 正数为GPU的ID,负数为使用CPU self.gpu_id = deploy_conf["GPU_ID"] self.face_db = deploy_conf["FACE_DB"] self.threshold = deploy_conf["THRESHOLD"] self.nms = deploy_conf["NMS"] config.yaml内容如下: 代码语言:...
load(fp, Loader=yaml.FullLoader) deploy_conf = configs["FACE"] # 正数为GPU的ID,负数为使用CPU self.gpu_id = deploy_conf["GPU_ID"] self.face_db = deploy_conf["FACE_DB"] self.threshold = deploy_conf["THRESHOLD"] self.nms = deploy_conf["NMS"] config.yaml内容如下: 代码语言:...
albumentations1.4.4annotated-types0.6.0certifi2024.2.2charset-normalizer3.3.2cmake3.29.2colorama0.4.6coloredlogs15.0.1contourpy1.2.1cycler0.12.1Cython3.0.10easydict1.13flatbuffers24.3.25fonttools4.51.0humanfriendly10.0idna3.7imageio2.34.1insightface0.7.3joblib1.4.0kiwisolver1.4.5lazy_loader0.4matplotlib3.8.4...
train_loader = DataLoaderX( local_rank=local_rank, dataset=trainset, batch_size=cfg.batch_size, sampler=train_sampler, num_workers=0, pin_memory=True, drop_last=True) 训练验证可选的各种数据集和配置: agedb_30.bin calfw.bin cfp_ff.bin cfp_fp.bin cplfw.bin lfw.bin vgg2_fp.bin ...
E File "rknn/base/RKNNlib/app/importer/mxnetloader.py", line 369, in rknn.base.RKNNlib.app.importer.mxnetloader.MxnetLoader.parse_layer_params E File "rknn/base/RKNNlib/app/importer/mxlayer_parse.py", line 224, in rknn.base.RKNNlib.app.importer.mxlayer_parse.parse_fullconnect_param ...
grad_scaler = MaxClipGradScaler(cfg.batch_size, 128 * cfg.batch_size, growth_interval=100) if cfg.fp16 else None for epoch in range(start_epoch, cfg.num_epoch): train_sampler.set_epoch(epoch) for step, (img, label) in enumerate(train_loader): global_step += 1 features = F....
📷InsightFace Loader 代码修改自 [ComfyUI_IPAdapter_plus](https://github.com/cubiq/ComfyUI_IPAdapter_plus),感谢 [@cubiq](https://github.com/cubiq)! 感谢[@hidecloud](https://twitter.com/hidecloud) 对onnxruntime 版本兼容性的测试与反馈! 感谢[esheep](https://www.esheep.com/) 技术人员对节...