WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

TypeError: injectFaultSlice() takes exactly 1 argument (3 given) #51

@abhishektyaagi

Description

@abhishektyaagi

Hi,
I am trying to run TensorFI on an object detection framework. I am using TensorFlow 1.15 and the algorithm of Object Detection is implemented in Python 2.7 and tested with Tensorflow 1.2 and 1.4.

I just initialise the injection phase by using
fi = ti.TensorFI(sess, name = "FrustumPointNet", logLevel = 50,disableInjections = False)

And that is the only change I do the original code which runs fine. The error that I am getting is:

Log:
2021-06-11 16:29:40.268495: W tensorflow/core/framework/op_kernel.cc:1639] Invalid argument: exceptions.TypeError: injectFaultSlice() takes exactly 1 argument (3 given) Traceback (most recent call last): File "/u/atyagi2/anaconda3/envs/tf1.15/lib/python2.7/site-packages/tensorflow_core/python/ops/script_ops.py", line 235, in __call__ ret = func(*args) TypeError: injectFaultSlice() takes exactly 1 argument (3 given)

This is my first time using the tool and hence I am not able to trace back the origin of this error. I would appreciate if you can point out what might be going wrong here.

P.S: I am able to run the DNN-Modles examples given, so I don't know where things are going wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions