HongChow
HongChow
> 路过,顺便答一下,👉 https://github.com/DefTruth/lite.ai.toolkit/tree/main/lite/tnn/cv ,这里也写了很多TNN应用的examples哦,基于opencv和tnn。比如在matting([tnn_mg_matting.cpp](https://github.com/DefTruth/lite.ai.toolkit/blob/main/lite/tnn/cv/tnn_mg_matting.cpp))里面,拿到tnn ouput Mat的数据指针后,用来初始化cv::Mat就可以了。 非常感谢(我这opencv还没编译通过)
if i set CUDA_VISIBLE_DEVICES=0 , the cuda memory error happened, and i have only one GPU ...
and if i set worker 1 another error information : RuntimeError: DataLoader worker (pid 11009) is killed by signal: Killed. Details are lost due to multiprocessing. Rerunning with num_workers=0 may...
No more error tips for me making me confused.
> @jfzhang95 how to tain my date with 10 classes? several places need to modify: (1) in dataloader/utils.py (zm is my own dataset, and classes is 4): .... if dataset...
> def generate(self,): > 下面就没有了 解决了没?
> 你好,能提供预训练模型和evaluate.py文件吗 我正在训练, 你这边训练好了么??
> 我更新了代码,你可以查看一下。 > 解码的时候不直接用forward,而是用模型的step_decoding函数。 > 你可以查看 [decoding.py](https://github.com/luopeixiang/im2latex/blob/master/decoding.py)文件,其中包含beam_search的实现. 谢谢~~
> 请问中文OCR使用 attention 效果好还是ctc好呢 同问
> > @JackLongKing,我用你所提到,MAKE了OPENCV,然后Makefile如你所说修改,结果adaptor.so生成了。可是运行test_ic15.py的时候,又发生了错误: > > ImportError: ………………/PSENet/pse/adaptor.so: undefined symbol: _ZN2cv8fastFreeEPv > > 我是CUDA10,PYTHON2.7 > > 你好,你的问题解决了吗 我的情况和你一样 我的问题和你们一样, 请问你们解决了没?