Wuhooo

Results 11 comments of Wuhooo

When reading a image with imread, if the path doesn't exist, it will return a None without raising an error. A None object can't be resized, thus having an assertion...

Is there new link to the dataset. I also find the dataset's link invalid.

def corr(f1, f2, md=4): b, c, h, w = f1.shape # 1.normalize feature f1 = f1 / torch.norm(f1, dim=1, keepdim=True) f2 = f2 / torch.norm(f2, dim=1, keepdim=True) # 2.compute correlation...

I trained hrnet18s on one 1080ti for 200 epochs. It took approximate 20mins per epoch. The result is lower than reported. I wonder if this is normal. ![企业微信截图_20210623172604](https://user-images.githubusercontent.com/43963025/123074253-b89e1100-d449-11eb-925f-b3b324420ae1.png)

> @FinaLone > handleRequest里新开的协程,在超时的场景下好像会泄露? 没有测试,看着像是 应该是会泄露的,因为timeout以后,chan阻塞,设置为有缓存的chan应该就可以不阻塞

> @ls8725 > @liyuxuan89 不太懂为啥会泄露,是需要在case

func (m *methodType) newArgv() reflect.Value { var argv reflect.Value // arg may be a pointer type, or a value type if m.ArgType.Kind() == reflect.Ptr { argv = reflect.New(m.ArgType.Elem()) } else...

我直接使用的day-1的代码,在windows上可以运行,到我虚拟机的ubuntu上,会阻塞在readRequestHeader,这可能是什么原因呢?

![image](https://user-images.githubusercontent.com/43963025/113541748-70730d80-9615-11eb-9be1-89d49ffd0cab.png) 运行到箭头就阻塞了,不知道为啥? ![image](https://user-images.githubusercontent.com/43963025/113541900-b4fea900-9615-11eb-85c2-16476a7458ff.png) 第一个箭头应该是option,第二个是header和body,client的request应该是发出去了? 在windows上没有问题。

https://github.com/geektutu/7days-golang/issues/34 不知道是不是这个问题