Python Forum
.so files - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: .so files (/thread-12485.html)



.so files - pythonCode - Aug-27-2018

How can access to the code inside .so files?
I cannot find the output in this piece of code, where I should search for it:
if (config.loadFromData):
    ckpt = tf.train.get_checkpoint_state(path)
    if ckpt and ckpt.model_checkpoint_path:
        for i in ckpt.all_model_checkpoint_paths:
            saver.restore(sess,i)
            total = test_lib.getTestTotal()
            for times in range(total):
                test_lib.getHeadBatch(ph_addr, pt_addr, pr_addr)
                res = test_step(ph, pt, pr)
                test_lib.testHead(res.__array_interface__['data'][0])

                test_lib.getTailBatch(ph_addr, pt_addr, pr_addr)
                res = test_step(ph, pt, pr)
                test_lib.testTail(res.__array_interface__['data'][0])
                print (times)
                if (times % 50 == 0):
                    test_lib.test()
            test_lib.test()



RE: .so files - Larz60+ - Aug-27-2018

.so is a library file.
what is your OS?