Closed 2110310010 closed 2 years ago
Should be 'mtfn' (lower case), please check your input args.
hello, After I change it to lowercase, it will still appear KeyError: mtfn I'm running ,putting python run.py --modelName mtfn --DatasetNmae sims
if I directly run run.py , it will appear TypeError: 'bool' object is not callable
After I change it to lowercase, it will still appear KeyError: mtfn
The MODEL_MAP
dictionary has key, 'mtfn'. So this shouldn't happen. Please check if you've edited the code.
if I directly run run.py , it will appear TypeError: 'bool' object is not callable
Cannot reproduce this problem. Need more information.
Traceback (most recent call last):
File "D:/net/MMSA-v_1.0/run.py", line 300, in
This is not a problem of MMSA. Please check the version of your dependencies and Python itself.
hi ,I installed it according to your requirements.txt, but the libraries you gave are some low versions, and the code is really in the high version.
The 1.0 version is no longer maintained. The code ran ok back then, but there's no guarantee it still works now.
You can try installing the dependencies' latest versions by replacing ==
with >=
in the requirements.txt
and see if it works.
It is highly recommended that you use the main branch.
File "run.py", line 300, in
worker()
run_normal(args)
File "run.py", line 174, in run_normal
test_results = run(args)
model = AMIO(args).to(device)
File "D:\net\MMSA-master\models\AMIO.py", line 44, in init
lastModel = MODEL_MAP[args.modelName]
KeyError: 'MTFN'