Attribute Error while training a basic MACE model. #552
-
I was trying to implement the example code in the tutorial but am facing a problem - My script: C:> python .\Macerepo\mace\mace\cli\run_train.py --name="Mace_model" --train_file="C:\botnetdata\BOTNet-datasets\dataset_3BPA\tra Error showing: AttributeError: 'Namespace' object has no attribute 'beta'. I am using windows powershell. and below is a snippet of the code block in run_train.py file: Can anyone pls suggest what is wrong here? What should I do? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
hey @RISHAV01CODER , What pytorch version are you using? Also what is your MACE version? |
Beta Was this translation helpful? Give feedback.
-
Hello Sir,
I'm using the torch version - 2.3.1+cu118. And MACE version 0.3.5 .
Regards,
Rishav Mitra
…On Thu, Aug 15, 2024 at 10:36 PM Ilyes Batatia ***@***.***> wrote:
hey @RISHAV01CODER <https://github.com/RISHAV01CODER> ,
What pytorch version are you using? Also what is your MACE version?
—
Reply to this email directly, view it on GitHub
<#552 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4REDOGHOVOCWPLVAHWVTZTZRTNXPAVCNFSM6AAAAABMSQLKJKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZVGA2DKNQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok sir, I'll do it. Thanks!
Regards,
Rishav M.
…On Thu, Aug 15, 2024 at 10:42 PM Ilyes Batatia ***@***.***> wrote:
I am seeing your are using mace 0.3.5 can you please make sure to update
to the latest version which is 0.3.6. Please do pip install --upgrade
mace-torch
—
Reply to this email directly, view it on GitHub
<#552 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4REDOCMQNODNLWXUJPB26LZRTOOBAVCNFSM6AAAAABMSQLKJKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZVGA2TENY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
I am seeing your are using mace 0.3.5 can you please make sure to update to the latest version which is 0.3.6. Please do
pip install --upgrade mace-torch