TypeError: __init__() got an unexpected keyword argument 'fiConf'
abhishektyaagi opened this issue · 1 comments
While specifying the path for config file, I am getting this error:
Traceback (most recent call last):
File "train/test.py", line 516, in
test_from_rgb_detection(FLAGS.output+'.pickle', FLAGS.output)
File "train/test.py", line 298, in test_from_rgb_detection
batch_one_hot_to_feed, batch_size=batch_size)
File "train/test.py", line 172, in inference
fi = ti.TensorFI(sess,fiConf = "/u/atyagi2/frustum-pointnets/confFiles/default.yaml", name = "FrustumPointNet", logLevel = 50,disableInjections = False)
TypeError: init() got an unexpected keyword argument 'fiConf'
Is 'fiConfi' the right keyword or I am doing something wrong?
Hi @abhishek-t-naive the right keyword argument is configFileName
, you can also check this in the source file where the constructor of the tensorFI injection function is defined:
configFileName = "confFiles/default.yaml", # Config file for reading fault configuration