lindsey98 / PhishIntention

PhishIntention: Phishing detection through webpage intention
Creative Commons Zero v1.0 Universal
48 stars 13 forks source link

Code seems not working on CPU #9

Open imethanlee opened 2 years ago

imethanlee commented 2 years ago

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

lindsey98 commented 2 years ago

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

imethanlee commented 2 years ago

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.

Varun-Mayilvaganan commented 4 months ago

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

lindsey98 commented 4 months ago

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

Varun-Mayilvaganan commented 4 months ago

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: @.***>