Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: __init__() got an unexpected keyword argument 'fiConf' #50

Open
abhishektyaagi opened this issue Jun 11, 2021 · 1 comment
Open
Labels
question Further information is requested

Comments

@abhishektyaagi
Copy link

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?

@nniranjhana
Copy link
Contributor

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

@nniranjhana nniranjhana added the question Further information is requested label Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants