Jingyu Wang

Results 96 comments of Jingyu Wang

前端小白弱弱问一哈,这个demo是如何运行起来的呢

> 您好! 我想问一下,每次训练得到的模型,得到的结果,差别都很大。(是不是因为 每次都是随机在一张图里cut,paste,导致的?), > > 比如 bottle这个类,我用相同的参数分别训练两次,得到两个模型model1和model2。 测试的时候,model1 得到的结果是AUC1 = 99.444, model2得到的结果是AUC2 = 99.841. 虽然有误差,但是这相差的也太多了。。。。。 有什么办法可以改善吗? > > 谢谢 铁汁,应该是初始化的问题。按照上面老哥的说法,设定一个固定种子一般就可以避免。 歪果仁能看到你的冲文已经很不错咯~

**well, i find the following information:** https://stackoverflow.com/questions/59249563/runtimeerror-module-must-have-its-parameters-and-buffers-on-device-cuda1-devi **just modify the code as following:** #device = torch.device("cuda:1" if torch.cuda.is_available() else "cpu") #logger.info(f"Going to train on {device}") device_ids = [1, 4, 5]...

out of memory with 40G A100 GPU

![微信图片_20240122140446](https://github.com/LilitYolyan/CutPaste/assets/14054362/6d6f15da-095f-429e-8e83-df5c38aa37fb)

![微信图片_20240129140511](https://github.com/LilitYolyan/CutPaste/assets/14054362/2cd1bfb6-dc31-4a92-81b1-34bc5b918110)

![微信图片_20240206092951](https://github.com/LilitYolyan/CutPaste/assets/14054362/f17b21f4-aa95-4922-882b-88032d08479e)

![微信图片_20240219092628](https://github.com/LilitYolyan/CutPaste/assets/14054362/15202049-929e-4faa-8bf2-1c19ac1526e4)

![微信图片_20240227095422](https://github.com/LilitYolyan/CutPaste/assets/14054362/84876e82-dcac-47e6-a9db-29e9890c89f2)

![微信图片_20240304120151](https://github.com/LilitYolyan/CutPaste/assets/14054362/6a371f12-c345-48ac-a9a3-be82a05d9d50)