Closed danl423 closed 4 years ago
So I think you could turn on the `acc' parameter in the seq2point_train.py by setting acc not to be None. Can you try that?
So I think you could turn on the `acc' parameter in the seq2point_train.py by setting acc not to be None. Can you try that?
O! thanks for your reply! and could you be more specific?
In the script file seq2point_train.py (at the line 263), when you call `customfit' you could set acc=True
In the script file seq2point_train.py (at the line 263), when you call `customfit' you could set acc=True
Thanks and It prompts: TypeError: Fetch argument True has invalid type <class 'bool'>, must be a string or Tensor. (Can not convert a bool into a Tensor or Operation.)
Can you try the required type of value for this parameter? For example, acc='True', acc=1.0. I need to fix this issue later in order to make it more easier to use.
@MingjunZhong sorry I think I made an mistake. It's ok for the acc to be 0.0000 in seq2point_train.py, and the value of accuracy will get in seq2point_test.py, and I misunderstand the difference, Thanks so..o much for your help.
I appreciate very much for the open source code. And I'm a little confused when I run the code "seq2point_train.py" - "NetFlowExt.py", the parameter "acc" in function "customfit" :
will always be "None" ,so this part of code [else] will be executed all the time:
and the "train_acc" will always be 0.000000. I'm wondering if I missed something, anyone can advise?