Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.so files
#1
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()
Reply
#2
.so is a library file.
what is your OS?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020