PhishIntention icon indicating copy to clipboard operation
PhishIntention copied to clipboard

Code seems not working on CPU

Open imethanlee opened this issue 2 years ago • 5 comments

It is not a big problem since I believe no one will run this code without GPU. However, it seems true that even if I install the CPU version of pytorch and detectron, the code still fails with the following output. Just raise this issue if any other come across the same problem.

image

imethanlee avatar May 27 '22 08:05 imethanlee

Hi, did you uncomment this line https://github.com/lindsey98/PhishIntention/blob/main/phishintention/src/AWL_detector.py#L32 ?

lindsey98 avatar May 27 '22 09:05 lindsey98

Uhhh......seems like I didn't notice that. It works now. Should also uncomment here https://github.com/lindsey98/PhishIntention/blob/main/phishintention/src/crp_locator.py#L43 to make it work on CPU. Thanks.

imethanlee avatar May 27 '22 09:05 imethanlee

Even after installing the pytorch, iam getting an error Screenshot (3)

Varun-Mayilvaganan avatar Jul 25 '24 19:07 Varun-Mayilvaganan

This is likely an installation error from Detectron2 and Pytorch, please manually install them: https://pytorch.org/get-started/previous-versions/ https://detectron2.readthedocs.io/en/latest/tutorials/install.html

lindsey98 avatar Jul 26 '24 02:07 lindsey98

Hello lindsey, If you don't mind please help me with running of project, shall we have a google meet now? I really need an help Thanks in advance.

On Fri, Jul 26, 2024 at 8:12 AM lindsey98 @.***> wrote:

This is likely an installation error from Detectron2 and Pytorch, please manually install them: https://pytorch.org/get-started/previous-versions/ https://detectron2.readthedocs.io/en/latest/tutorials/install.html

— Reply to this email directly, view it on GitHub https://github.com/lindsey98/PhishIntention/issues/9#issuecomment-2251858171, or unsubscribe https://github.com/notifications/unsubscribe-auth/A24ME5I32UHPXXRDFRPMJ43ZOGZPXAVCNFSM6AAAAABLPE2TUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHA2TQMJXGE . You are receiving this because you commented.Message ID: @.***>

Varun-Mayilvaganan avatar Jul 26 '24 02:07 Varun-Mayilvaganan