tomsux

Results 4 comments of tomsux

> giampaolo commented on 29 May 2014 From [email protected] on April 30, 2013 23:08:23 ``` from asynchat import async_chat class EncodedProducer: def __init__(self, producer): self.producer = producer def more(self): return...

> > > 遇到这种阻塞性的任务会出现无法取消的情况,想问下这种情况有什么能够强制退出的解决方案吗 > > > ![image](https://user-images.githubusercontent.com/64629436/206096067-111152ca-b55a-40ba-8226-34b5742d922b.png) > > > > > > 阻塞性任务是这样的,但nc连接上以后也无法退出么? > > 如果连上nc得的话,另一端ctrl+c 退出后 这边也会跟着退出,这没什么问题。 但是像遇到需要开python server 或者nc开启监听后没有连接这种情况 ,如果没法主动退出会一直阻塞, 也没办法回退到控制端,很难受。 python3 -m http.server 我也遇到了,只能重启服务吗

> 另外:The dtype of attention mask (torch.int64) is not bool 解决了吗

1.centos7是在哪里呢? 2.下载的那个url可以提供吗?