非常感谢您的指导,我们将新建的2个ERICA环境及工具删除后,重新安装后,没有再出现此类报错。
但又生成新的报错,我们怀疑是上步生成的msa文件有误,所以重新生成了一遍msa文件,但依旧是同样的报错,报错内容如下:
WARNING:tensorflow:From /data/home/lihuifang/miniconda3/envs/ERICA/lib/python3.6/site-packages/tensorflow_core/python/ops/resource_variable_ops.py:1635: calling BaseResourceVariable.init (from tensorflow.python.ops.resource_variable_ops) with constraint is deprecated and will be removed in a future version.
Instructions for updating:
If using Keras pass *_constraint arguments to layers.
WARNING:tensorflow:From ERICAPrediction.py:291: dense (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.Dense instead.
WARNING:tensorflow:From /data/home/lihuifang/miniconda3/envs/ERICA/lib/python3.6/site-packages/tensorflow_core/python/layers/core.py:187: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version.
Instructions for updating:
Please use layer.__call__ method instead.
2023-10-09 00:40:18.781153: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 AVX512F FMA
2023-10-09 00:40:18.829204: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2100000000 Hz
2023-10-09 00:40:18.836863: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5566b5071950 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2023-10-09 00:40:18.836923: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
2023-10-09 00:40:18.837239: I tensorflow/core/common_runtime/process_util.cc:147] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
Mon Oct 9 00:40:19 2023 result56/five_pop_ind_Chr1.txt Data Preprocessing > > > > > > > > > >
Process Process-1:
Traceback (most recent call last):
File "/data/home/lihuifang/miniconda3/envs/ERICA/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/data/home/lihuifang/miniconda3/envs/ERICA/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, *self._kwargs)
File "ERICAPrediction.py", line 129, in FiveTaxonDataPrediction
data = FiveTaxonDataProcess(MSA)
File "ERICAPrediction.py", line 93, in FiveTaxonDataProcess
lines = np.array([list(x) for x in lines], dtype=np.uint8)
ValueError: invalid literal for int() with base 10: ''
非常感谢您的指导,我们将新建的2个ERICA环境及工具删除后,重新安装后,没有再出现此类报错。 但又生成新的报错,我们怀疑是上步生成的msa文件有误,所以重新生成了一遍msa文件,但依旧是同样的报错,报错内容如下: WARNING:tensorflow:From /data/home/lihuifang/miniconda3/envs/ERICA/lib/python3.6/site-packages/tensorflow_core/python/ops/resource_variable_ops.py:1635: calling BaseResourceVariable.init (from tensorflow.python.ops.resource_variable_ops) with constraint is deprecated and will be removed in a future version. Instructions for updating: If using Keras pass *_constraint arguments to layers. WARNING:tensorflow:From ERICAPrediction.py:291: dense (from tensorflow.python.layers.core) is deprecated and will be removed in a future version. Instructions for updating: Use keras.layers.Dense instead. WARNING:tensorflow:From /data/home/lihuifang/miniconda3/envs/ERICA/lib/python3.6/site-packages/tensorflow_core/python/layers/core.py:187: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version. Instructions for updating: Please use
layer.__call__
method instead.2023-10-09 00:40:18.781153: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 AVX512F FMA 2023-10-09 00:40:18.829204: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2100000000 Hz 2023-10-09 00:40:18.836863: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5566b5071950 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2023-10-09 00:40:18.836923: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2023-10-09 00:40:18.837239: I tensorflow/core/common_runtime/process_util.cc:147] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance. Mon Oct 9 00:40:19 2023 result56/five_pop_ind_Chr1.txt Data Preprocessing > > > > > > > > > >
Process Process-1: Traceback (most recent call last): File "/data/home/lihuifang/miniconda3/envs/ERICA/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/data/home/lihuifang/miniconda3/envs/ERICA/lib/python3.6/multiprocessing/process.py", line 93, in run self._target(*self._args, *self._kwargs) File "ERICAPrediction.py", line 129, in FiveTaxonDataPrediction data = FiveTaxonDataProcess(MSA) File "ERICAPrediction.py", line 93, in FiveTaxonDataProcess lines = np.array([list(x) for x in lines], dtype=np.uint8) ValueError: invalid literal for int() with base 10: ''
想请教张老师,请问上面这个报错是什么原因造成的?我们该如何解决? 谢谢!
Originally posted by @echolihuifang in https://github.com/YuboZhangPKU/ERICA/issues/4#issuecomment-1752105074