sample from log uniform distribution between 0.01~1
(low=-2, high=0, size=1, base=10)
| 81 | save_image_saliancy(features_r[0], './tmp/rgb', True) |
| 82 | |
| 83 | def lognuniform(low=-2, high=0, size=1, base=10): |
| 84 | ''' sample from log uniform distribution between 0.01~1 ''' |
| 85 | return np.power(base, np.random.uniform(low, high, size)) |
| 86 | |
| 87 | def getrelpose(pose1, pose2): |
| 88 | ''' get relative pose from abs pose pose1 to abs pose pose2 |
nothing calls this directly
no outgoing calls
no test coverage detected