Zhou Hao

Results 78 comments of Zhou Hao

关注,同样遇到 ik_max_word 分成 `10|支`,但 ik_smart 给出 `10支` 的问题了。之前一直以为是子集,于是索引用 ik_max_word,查询用 ik_smart

> 原来 ik_smart 的结果不是 ik_max_word 的子集。索引用 ik_max_word,查询用 ik_smart 时,就有可能搜不到结果,请问有什么好的处理方法吗? 都用 `ik_max_word`,这样分词和分析器是一致的

I tried to merge Unbiased_LambdaMart into the original and it is now ready to compile: https://github.com/upbit/Unbiased_LambdaMart/commit/0071cf2e5b6a5dd9bd64121215d82ebebe588a36 The submodule method is not easy to track the new version.

Sorry for my poor english. I mean It is not easy to upgrade to the latest version of LightGBM (eg: v2.2.4). If forked from microsoft/LightGBM, we can merge upstream changes...

感谢分享 这是huggingface哪个版本的transformers?或者能有个GPT2Tokenizer加载的例子吗?看新的v2.5.1词典文件,是个json而不是这种文本格式的 https://github.com/huggingface/transformers/blob/v2.5.1/src/transformers/tokenization_gpt2.py#L36 -------------------------------- 理解错LZ意思了。用`pytorch_transformers`可以了 👍 ```py import pytorch_transformers from tokenizations import tokenization_bert config_file = "config.json" vocab_file = "vocab.txt" config = pytorch_transformers.GPT2Config.from_json_file(config_file) config.output_attentions = True model = pytorch_transformers.GPT2LMHeadModel.from_pretrained(".", config=config) tokenizer...

哈哈,被你说中了。好像有些地方1.0.0.1被墙了

最近搞了个批量解析的方法,主要还是通过 `DNS over HTTP(s)` 来解析。如果1.1.1.1被墙还能用其他能访问的: https://github.com/upbit/pixivpy/blob/master/pixivpy3/bapi.py#L26 CloudFlare Worker 门槛有点高,或者另一个思路是搞一批公用的池子(不知道有没有人用过)

我这边尝试运行也是crash在这里,`FFmpegDirector.cpp:222: LockTexture2D()`这行。 @waterfu1124 有找到什么相关的资料吗? ```cpp void UFFmpegDirector::GetScreenVideoData() { FRHICommandListImmediate& list = GRHICommandList.GetImmediateCommandList(); uint8* TextureData = (uint8*)list.LockTexture2D(GameTexture->GetTexture2D(), 0, EResourceLockMode::RLM_ReadOnly, LolStride, false); if(Runnable) Runnable->InsertVideo(TextureData); list.UnlockTexture2D(GameTexture, 0, false); } ``` 堆栈: ```cpp [2022.09.27-12.16.55:354][319]LogWindows:...

可以调试的工程在这里:https://github.com/upbit/ue5-ffmpeg

> > 你解决问题啦,可以可以感谢感谢! > > > 可以调试的工程在这里:https://github.com/upbit/ue5-ffmpeg > > 你解决问题啦,可以可以感谢感谢! 并没有,只有个48字节的空文件。暂时没找到DX12崩溃的相关资料。不过你可以试试DX11,之前我 DX12+ NDI tools 5 也是崩溃,换DX11正常