SungHwan Kim commited to dfa7d23 January 19

close(#42) Feature sequence (#43)

Current Status:

Analysed View logs
View on GitHub
Not up to standards.

This commit quality could be better.

  • +9 Issues
  • +2 Duplication
  • = Complexity
  • - Coverage
darkon/gradcam/gradcam.py
Dangerous default value dict() (builtins.dict) as argument
def candidate_featuremap_op_names(sess, graph=None, feed_options=dict()):
test/test_gradcam.py
Trailing whitespace
Trailing whitespace
self.assertEqual('resnet_v1_50/block4/unit_3/bottleneck_v1/Relu', self.target_op_name)
test/test_gradcam_sequence.py
Unused variable '__class__'
class TestGradcamSequence(unittest.TestCase):
Trailing whitespace
Trailing whitespace
graph = tf.get_default_graph()
Trailing whitespace
conv_op_names = darkon.Gradcam.candidate_featuremap_op_names(sess,
Trailing whitespace
prob_op_names = darkon.Gradcam.candidate_predict_op_names(sess, 2,
Unused variable 'ret'
ret = insp.gradcam(sess, self.x_test_batch[0], feed_options={dropout_keep_prob: 1})
More


darkon/gradcam/gradcam.py
Unused variable '__class__'
class Gradcam:
Dangerous default value dict() (builtins.dict) as argument
def gradcam(self, sess, input_data, target_index=None, feed_options=dict()):
Dangerous default value dict() (builtins.dict) as argument
def candidate_predict_op_names(sess, num_classes, graph=None, feed_options=dict()):
test/test_gradcam.py
Unused variable '__class__'
class TestGradcam(unittest.TestCase):
More
You didn't fix any issue!

Loading...

Loading...

Loading...

Loading...