SHAOCHEN YANG
SHAOCHEN YANG
> 项目里,觉得可以举报 我也试了好久 感觉这个库有问题,是嘛
> 下次,请按照问题模板进行操作,并包含完整的代码以使您的问题可重现。 > > 在这里,火炬失败了`torch.cuda.manual_seed(42)`。您安装的 torch 可能与您的 CUDA 版本不兼容。按照此处针对您的系统和 CUDA 版本的 PyTorch 安装说明进行操作:[https ://pytorch.org/get-started/locally/](https://pytorch.org/get-started/locally/) > > `torch.cuda.manual_seed`然后,在尝试通过 TextAttack 运行攻击之前,确保调用有效。 Thank you for your reply. Actually I don't think the problem...
I uploaded the code to Colab:https://colab.research.google.com/drive/1Frpn8EW3-lFGBqM-_hHtnv67xCDZ5QU0?usp=sharing
The same code sometimes has the following error: textattack: Logging to text file at path /home/ysc/TextAttack/examples/results/PWWS/2022-06-10-19-49-log.txt Attack( (search_method): GreedyWordSwapWIR( (wir_method): weighted-saliency ) (goal_function): UntargetedClassification (transformation): WordSwapWordNet (constraints): (0): RepeatModification (1):...
> 感谢您的报告@buthi!我仍然不相信这是 TextAttack 中的错误——尤其是因为它是不确定的。也许您可以按照此处的说明进行操作:[https ://stackoverflow.com/questions/66600362/runtimeerror-cuda-error-cublas-status-execution-failed-when-calling-cublassge](https://stackoverflow.com/questions/66600362/runtimeerror-cuda-error-cublas-status-execution-failed-when-calling-cublassge) > > 他们建议设置环境变量 CUDA_LAUNCH_BLOCKING=1 以获得更易读的错误消息。 Thank you very much for your answer. I changed the package to CU113 to solve the above problems. But now...
> Thank you for your reply. I used a Chinese text dataset I had crawled myself.
已解决 刚开始没仔细看
> 谢谢。其他数据集可在此链接中找到:[https ://github.com/yueliu1999/Awesome-Deep-Graph-Clustering#benchmark-datasets](https://github.com/yueliu1999/Awesome-Deep-Graph-Clustering#benchmark-datasets) Thank you for your advice! I have already star this library of yours before. I would like to know whether these datasets are processed by yourself or...
> 是的,这些数据集是我自己处理的。我只是统一用npy格式存储官方数据。原因是在编码过程中难以处理不同格式的数据集。 Thank you. May I ask how you handled the data? In addition, whether to do graph model research, the data set is their own processing into the form...
> > 已解决 刚开始没仔细看 > > 請問您後來能使用多分類任務嗎 可以