syvince

Results 9 comments of syvince

@Code-Dataset 你解决了嘛 ![image](https://github.com/lhwcv/mlsd_pytorch/assets/37822823/ddefa60b-0a0e-4733-b4b9-b2f71159e35e)

我解决了,需要改一部分代码   vince ***@***.***   ------------------ 原始邮件 ------------------ 发件人: ***@***.***>; 发送时间: 2024年4月20日(星期六) 晚上8:44 收件人: ***@***.***>; 抄送: ***@***.***>; ***@***.***>; 主题: Re: [lhwcv/mlsd_pytorch] 如何在demo_MLSD_flask中使用训练后的模型? (Issue #28) @Code-Dataset 你解决了嘛 我跟你一样的问题,请问你解决了吗 — Reply to this email...

我解决了,最后我没采用flask运行,采用的gradio,但是原理是一样的,您可以看下mlsd_tiny.py这个文件,这个是我根据源码从新改的一份文件 vince ***@***.***   ------------------ 原始邮件 ------------------ 发件人: "lhwcv/mlsd_pytorch" ***@***.***>; 发送时间: 2024年4月20日(星期六) 晚上8:44 ***@***.***>; ***@***.******@***.***>; 主题: Re: [lhwcv/mlsd_pytorch] 如何在demo_MLSD_flask中使用训练后的模型? (Issue #28) @Code-Dataset 你解决了嘛 我跟你一样的问题,请问你解决了吗 — Reply to this email directly, view it on GitHub,...

mlsd_tiny.py ``` import os import sys import torch import torch.nn as nn import torch.utils.model_zoo as model_zoo from torch.nn import functional as F class BlockTypeA(nn.Module): def __init__(self, in_c1, in_c2, out_c1, out_c2,...

web.py ``` import cv2 import os import numpy as np import torch from torch.nn import functional as F import argparse from mlsd_tiny import MobileV2_MLSD_Tiny from albumentations import Normalize import gradio...

Because I saw in your introduction that it supports thousands of AGVs, I would like to run this program to test and learn your code

> https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#module-streams Sorry, I didn't understand. Do I need to push the detected frames to port 1935 through ffmpeg while running the program? The code is as follows: ``` from...