环境是python3.6,TF是1.14.0
D:\anaconda3\envs\tensorflow\python.exe D:/chrome/SiamFC-TensorFlow-master/experiments/SiamFC-3s-color-pretrained.py
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
WARNING:tensorflow:From D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py:31: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.
WARNING:tensorflow:From D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py:31: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.
WARNING:tensorflow:From D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py:31: The name tf.logging.DEBUG is deprecated. Please use tf.compat.v1.logging.DEBUG instead.
WARNING:tensorflow:From D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py:31: The name tf.logging.DEBUG is deprecated. Please use tf.compat.v1.logging.DEBUG instead.
Traceback (most recent call last):
File "D:\anaconda3\envs\tensorflow\lib\pkgutil.py", line 490, in find_loader
spec = importlib.util.find_spec(fullname)
File "D:\anaconda3\envs\tensorflow\lib\importlib\util.py", line 102, in find_spec
raise ValueError('{}.spec is None'.format(name))
ValueError: tensorflow.spec is None
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:/chrome/SiamFC-TensorFlow-master/experiments/SiamFC-3s-color-pretrained.py", line 21, in
from scripts.convert_pretrained_model import ex
File "D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py", line 33, in
from sacred import Experiment
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred__init__.py", line 13, in
from sacred.experiment import Experiment
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\experiment.py", line 13, in
from sacred.arg_parser import format_usage, get_config_updates
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\arg_parser.py", line 16, in
from sacred.serializer import restore
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\serializer.py", line 8, in
from sacred import optional as opt
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\optional.py", line 40, in
has_tensorflow = modules_exist("tensorflow")
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\utils.py", line 656, in modules_exist
return all(module_exists(m) for m in modnames)
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\utils.py", line 656, in
return all(module_exists(m) for m in modnames)
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\utils.py", line 652, in module_exists
return pkgutil.find_loader(modname) is not None
File "D:\anaconda3\envs\tensorflow\lib\pkgutil.py", line 496, in find_loader
raise ImportError(msg.format(fullname, type(ex), ex)) from ex
ImportError: Error while finding loader for 'tensorflow' (<class 'ValueError'>: tensorflow.spec is None)
环境是python3.6,TF是1.14.0 D:\anaconda3\envs\tensorflow\python.exe D:/chrome/SiamFC-TensorFlow-master/experiments/SiamFC-3s-color-pretrained.py D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) D:\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) WARNING:tensorflow: The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see:
WARNING:tensorflow:From D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py:31: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.
WARNING:tensorflow:From D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py:31: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.
WARNING:tensorflow:From D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py:31: The name tf.logging.DEBUG is deprecated. Please use tf.compat.v1.logging.DEBUG instead.
WARNING:tensorflow:From D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py:31: The name tf.logging.DEBUG is deprecated. Please use tf.compat.v1.logging.DEBUG instead.
Traceback (most recent call last): File "D:\anaconda3\envs\tensorflow\lib\pkgutil.py", line 490, in find_loader spec = importlib.util.find_spec(fullname) File "D:\anaconda3\envs\tensorflow\lib\importlib\util.py", line 102, in find_spec raise ValueError('{}.spec is None'.format(name)) ValueError: tensorflow.spec is None
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "D:/chrome/SiamFC-TensorFlow-master/experiments/SiamFC-3s-color-pretrained.py", line 21, in
from scripts.convert_pretrained_model import ex
File "D:\chrome\SiamFC-TensorFlow-master\scripts\convert_pretrained_model.py", line 33, in
from sacred import Experiment
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred__init__.py", line 13, in
from sacred.experiment import Experiment
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\experiment.py", line 13, in
from sacred.arg_parser import format_usage, get_config_updates
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\arg_parser.py", line 16, in
from sacred.serializer import restore
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\serializer.py", line 8, in
from sacred import optional as opt
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\optional.py", line 40, in
has_tensorflow = modules_exist("tensorflow")
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\utils.py", line 656, in modules_exist
return all(module_exists(m) for m in modnames)
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\utils.py", line 656, in
return all(module_exists(m) for m in modnames)
File "D:\anaconda3\envs\tensorflow\lib\site-packages\sacred\utils.py", line 652, in module_exists
return pkgutil.find_loader(modname) is not None
File "D:\anaconda3\envs\tensorflow\lib\pkgutil.py", line 496, in find_loader
raise ImportError(msg.format(fullname, type(ex), ex)) from ex
ImportError: Error while finding loader for 'tensorflow' (<class 'ValueError'>: tensorflow.spec is None)
Process finished with exit code 1