dev
-
tensorflow error - undefined symbol: _ZTIN10tensorflow8OpKernelEdev/tensorflow 2018. 1. 10. 20:11
error message File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/load_library.py", line 56, in load_op_library lib_handle = py_tf.TF_LoadLibrary(library_filename, status) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/errors_impl.py", line 473, in __exit__ c_api.TF_GetCode(self.status.status))tensorflow.python.framework.errors_impl.NotFoundError: X..
-
compile error - nsync_cv.h, nsync_mu.hdev/tensorflow 2018. 1. 10. 19:35
compile error message/usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: No such file or directory /usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:26:22: fatal error: nsync_mu.h: No such file or directory solution: change nsync_cv.h and nsync_mu.h to absolute path. 1...
-
(pytorch) pytorch install errordev 2017. 12. 1. 19:39
Error Message RuntimeError: module compiled against API version 0xb but this version of numpy is 0xaTraceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/dist-packages/torch/__init__.py", line 53, in from torch._C import *ImportError: numpy.core.multiarray failed to import Solution install new version of numpysudo -H pip install --upgrade numpy --trusted-host pypi..
-
(python) split string with multiple separatorsdev/python 2017. 6. 16. 19:58
def split(string, *seps): if len(seps) == 0: return string elif len(seps) == 1: return string.split(seps[0]) else: for sep in seps[1:]: string = string.replace(sep, seps[0]) return string.split(seps[0]) >>> path = "cls9CityRainy/result/step1/iter_9000/stat">>> split(path, '/', '_')['cls9CityRainy', 'result', 'step1', 'iter', '9000', 'stat']
-
(caffe) load without messagedev 2017. 5. 13. 20:52
os.environ["GLOG_minloglevel"] = "1" import caffe