如何解决未知方法:Internet Explorer 11中的selectSingleNode Javascipt
专门在Internet Explorer v11上引发了运行时错误“自动化服务器无法创建对象”,因此无法获得所需的功能。我在https://ibb.co/XWwqsRw调试时附上了屏幕截图。随附的代码如下。
该代码在IE v8中运行良好。
如何解决此问题或是否可以采取其他替代方法。
谢谢!
{{1}}
解决方法
此问题可能是由Msxml2的特定版本4.0引起的。运行脚本的计算机上未(正确)安装DOMDocument。
建议使用2020-09-22 16:29:38.010283: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-09-22 16:29:38.036873: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-09-22 16:29:44.344951: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
2020-09-22 16:29:44.360513: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2020-09-22 16:29:44.379603: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: DESKTOP-S931GV6
2020-09-22 16:29:44.393095: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: DESKTOP-S931GV6
2020-09-22 16:29:44.402485: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2
To enable them in other operations,rebuild TensorFlow with the appropriate compiler flags.
2020-09-22 16:29:44.453636: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x26a5376f020 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-09-22 16:29:44.475123: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host,Default Version
Traceback (most recent call last):
File "save_model.py",line 58,in <module>
app.run(main)
File "C:\Users\HANSUHO\AppData\Local\Programs\Python\Python37\lib\site-packages\absl\app.py",line 300,in run
_run_main(main,args)
File "C:\Users\HANSUHO\AppData\Local\Programs\Python\Python37\lib\site-packages\absl\app.py",line 251,in _run_main
sys.exit(main(argv))
File "save_model.py",line 54,in main
save_tf()
File "save_model.py",line 49,in save_tf
utils.load_weights(model,FLAGS.weights,FLAGS.model,FLAGS.tiny)
File "C:\Users\HANSUHO\GitClone\totflite\core\utils.py",line 63,in load_weights
conv_weights = conv_weights.reshape(conv_shape).transpose([2,3,1,0])
ValueError: cannot reshape array of size 4565322 into shape (1024,512,3)
或Msxml2.DOMDocument.3.0
。您可以参考this article。我使用Msxml2.DOMDocument.6.0
进行了测试,它可以在IE 11中正常运行:
Msxml2.DOMDocument.6.0
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。