b041dab5e0cd25b2800c3bc2590ab94ff8b23f68,testing/input_buffer_test.py,,,#,113

Before Change


            except tf.errors.OutOfRangeError as e:
                pass

if __name__ == "__main__":
    tf.test.main()

After Change


from utilities.input_placeholders import ImagePatch
from layer.toy_sampler import ToySampler

sys.stdout = os.fdopen(sys.stdout.fileno(), "w", 0)

class InputQueueTest(tf.test.TestCase):
    def test_3d_setup_train_eval_queue(self):
        test_patch = ImagePatch(image_shape=(32, 32, 32),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: NifTK/NiftyNet
Commit Name: b041dab5e0cd25b2800c3bc2590ab94ff8b23f68
Time: 2017-05-28
Author: wenqi.li@ucl.ac.uk
File Name: testing/input_buffer_test.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 850fa9913b2f24729cd4c58b4037697ab028c52a
Time: 2018-06-04
Author: bryanv@anaconda.com
File Name: bokeh/command/subcommands/tests/test_serve.py
Class Name:
Method Name: test_actual_port_printed_out


Project Name: akkana/scripts
Commit Name: f02ab4559d2e4e17401b284f8c023e9693d06aa5
Time: 2018-06-24
Author: akkana@shallowsky.com
File Name: quickbrowse.py
Class Name: BrowserWindow
Method Name: set_up_listener