当前位置: 首页>后端>正文

编例-总集误 [PE.ELE00]

G-HL-PE.ELE00

鎬婚泦璇?澶勫璇?Program-Engineering. Emerge-Logs Errors 0.0

鐢熸€佸緢閲嶈锛佷笉浠呬粎鏄洜涓轰汉渚濊禆鐨勭矘鎬э紝鑰屾槸鎽嗚劚涔嬪悗浜х敓鐨勭绉嶉夯鐑?. 浠ュ鏃忎箣瑷€鎺ф湰鏃忎箣姘戯紝閬楃ジ涓囧勾銆?/p>

WinError 126

  1. gym: ale_interface/ale_c.dll OSError: [WinError 126] 鎵句笉鍒版寚瀹氱殑妯″潡銆?/li>

ale_interface/ale_c.dll OSError: [WinError 126] 鎵句笉鍒版寚瀹氱殑妯″潡銆俠log.csdn.net/qq_27297393/article/details/105349229

鎰熻阿鎮ㄤ笅杞?Visual Studiovisualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16

鐗╃悊寮曟搸 build

2. Windows 鏋勫缓浠跨湡鐜璁粌. 鐗╃悊寮曟搸 build:

[鍥剧墖涓婁紶澶辫触...(image-a4a1d0-1709623335045)]

<figcaption class="Image-caption is-placeholder Image-captionV2"Sarasa Mono Slab CL", sans-serif !important; user-select: text; color: rgb(173, 177, 183); font-size: 0.9em; line-height: 1.5; margin-top: 3px; padding: 0px 1em; text-align: center; font-weight: 400;">娣诲姞鍥剧墖娉ㄩ噴锛屼笉瓒呰繃 140 瀛楋紙鍙€夛級</figcaption>

MSBuild鍦–鐩楶rogram Files锛坸86锛変腑 (VisualStudio瀹夎鏃朵竴骞跺畨瑁呯殑) 闇€瑕佹坊鍔犲埌鐜鍙橀噺骞堕噸鍚數鑴?

[鍥剧墖涓婁紶澶辫触...(image-e365a5-1709623335045)]

<figcaption class="Image-caption is-placeholder Image-captionV2"Sarasa Mono Slab CL", sans-serif !important; user-select: text; color: rgb(173, 177, 183); font-size: 0.9em; line-height: 1.5; margin-top: 3px; padding: 0px 1em; text-align: center; font-weight: 400;">娣诲姞鍥剧墖娉ㄩ噴锛屼笉瓒呰繃 140 瀛楋紙鍙€夛級</figcaption>

tensorboardX

3. tensorboardX

Pytorch tensorboard/tensorboardx 瀹夎浣跨敤娉ㄦ剰浜嬮」www.jianshu.com/p/058fba2c2530

浣滀负涓€涓猼orch鐢ㄦ埛, 灞呯劧瑕佸畨瑁卼ensorflow..

浼暟瀛?/p>

4. Python 鐨勪吉鏁板 (浜岃繘鍒剁簿搴?

锛堣浆锛変粠Python鐨?.1杈撳嚭0.1000000000000001璇存诞鐐规暟鐨勪簩杩涘埗 - mofy - 鍗氬鍥瓀ww.cnblogs.com/z-books/p/6909962.html

5. Java 鐨勪吉鏁板 (馃檲绮惧害)

Math.abs(Integer.MIN_VALUE)闂鍒嗘瀽_灏忕爜鍐滃ぇ鐞嗘兂-CSDN鍗氬blog.csdn.net/u012953723/article/details/116146633

Boost.Python.function

杩欎釜鐪熺殑濂界儲, 鍦–arla涓? 鎴戠洰鐨勬槸璋冪敤浠栫殑涓€涓厓绱?/p>

[鍥剧墖涓婁紶澶辫触...(image-174806-1709623335045)]

<figcaption class="Image-caption is-placeholder Image-captionV2"Sarasa Mono Slab CL", sans-serif !important; user-select: text; color: rgb(173, 177, 183); font-size: 0.9em; line-height: 1.5; margin-top: 3px; padding: 0px 1em; text-align: center; font-weight: 400;">娣诲姞鍥剧墖娉ㄩ噴锛屼笉瓒呰繃 140 瀛楋紙鍙€夛級</figcaption>

鎶ラ敊: AttributeError: 'Boost.Python.function' object has no attribute 'location'

start_waypoint 闀胯繖鏍?/p>

<pre class="public-DraftStyleDefault-pre" data-offset-key="fc3n1-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 1.4em 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: 0.88889em; white-space: pre; word-break: normal; color: rgb(25, 27, 31); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">

<pre class="Editable-styled" data-block="true" data-editor="438t2" data-offset-key="fc3n1-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 0px; font-size: 0.9em; overflow: initial; padding: 0px; white-space: pre; word-break: normal;">

print(start_waypoint)

</pre>

</pre>

[鍥剧墖涓婁紶澶辫触...(image-269a32-1709623335045)]

<figcaption class="Image-caption is-placeholder Image-captionV2"Sarasa Mono Slab CL", sans-serif !important; user-select: text; color: rgb(173, 177, 183); font-size: 0.9em; line-height: 1.5; margin-top: 3px; padding: 0px 1em; text-align: center; font-weight: 400;">娣诲姞鍥剧墖娉ㄩ噴锛屼笉瓒呰繃 140 瀛楋紙鍙€夛級</figcaption>

<pre class="public-DraftStyleDefault-pre" data-offset-key="38ind-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 1.4em 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: 0.88889em; white-space: pre; word-break: normal; color: rgb(25, 27, 31); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">

<pre class="Editable-styled" data-block="true" data-editor="438t2" data-offset-key="38ind-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 0px; font-size: 0.9em; overflow: initial; padding: 0px; white-space: pre; word-break: normal;">

print(start_waypoint.transform)

</pre>

</pre>

[鍥剧墖涓婁紶澶辫触...(image-7542a9-1709623335045)]

<figcaption class="Image-caption is-placeholder Image-captionV2"Sarasa Mono Slab CL", sans-serif !important; user-select: text; color: rgb(173, 177, 183); font-size: 0.9em; line-height: 1.5; margin-top: 3px; padding: 0px 1em; text-align: center; font-weight: 400;">娣诲姞鍥剧墖娉ㄩ噴锛屼笉瓒呰繃 140 瀛楋紙鍙€夛級</figcaption>

鎴戠幇鍦ㄦ兂鍙栦粬鐨?x

瑙e喅 鐩存帴 start_waypoint.location

d

瑙e喅 ERROR: Cannot uninstall pyparsingblog.csdn.net/fanlily913/article/details/106495860/

cv

cv2.error: OpenCV(4.3.0) /io/opencv/modules/highgui/src/window.cpp:717: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvWaitKey'

<pre class="public-DraftStyleDefault-pre" data-offset-key="1m2g0-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 1.4em 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: 0.88889em; white-space: pre; word-break: normal; color: rgb(25, 27, 31); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">

<pre class="Editable-styled" data-block="true" data-editor="438t2" data-offset-key="1m2g0-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 0px; font-size: 0.9em; overflow: initial; padding: 0px; white-space: pre; word-break: normal;">

conda remove opencv
conda install -c menpo opencv
pip install --upgrade pip
pip install opencv-contrib-python

</pre>

</pre>

RuntimeError @Python缂栫▼璇█

PyTorch

  1. Given groups=1, weight of size .., expected input to have <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>锟?lt;/mi><mn>1</mn></msub></math> channels, but got <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>锟?lt;/mi><mn>2</mn></msub></math> channels instead

input 鏄?batchsizesizesize*channels

model 鎵€闇€鏄?batchsizechannelssize*size 鐨勫舰寮忥紝鍥犳鍙渶

<pre class="public-DraftStyleDefault-pre" data-offset-key="bonb7-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 1.4em 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: 0.88889em; white-space: pre; word-break: normal; color: rgb(25, 27, 31); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">

<pre class="Editable-styled" data-block="true" data-editor="438t2" data-offset-key="bonb7-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 0px; font-size: 0.9em; overflow: initial; padding: 0px; white-space: pre; word-break: normal;">

img_torch = torch.transpose(img_torch,2,3)
img_torch = torch.transpose(img_torch,1,2)

</pre>

</pre>

2. Input type (torch.cuda.ByteTensor) and weight type (torch.cuda.FloatTensor) should be the same

<pre class="public-DraftStyleDefault-pre" data-offset-key="4j6t1-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 1.4em 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: 0.88889em; white-space: pre; word-break: normal; color: rgb(25, 27, 31); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">

<pre class="Editable-styled" data-block="true" data-editor="438t2" data-offset-key="4j6t1-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 0px; font-size: 0.9em; overflow: initial; padding: 0px; white-space: pre; word-break: normal;">

.float()

</pre>

</pre>

3. view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Call .contiguous() before .view(). / Use .reshape(...) instead.

鐢ㄥ鍗¤缁冪殑鏃跺€檛ensor涓嶈繛缁紝鍗硉ensor鍒嗗竷鍦ㄤ笉鍚岀殑鍐呭瓨鎴栨樉瀛樹腑銆?/p>

<pre class="public-DraftStyleDefault-pre" data-offset-key="9h06r-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 1.4em 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: 0.88889em; white-space: pre; word-break: normal; color: rgb(25, 27, 31); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">

<pre class="Editable-styled" data-block="true" data-editor="438t2" data-offset-key="9h06r-0-0"Sarasa Mono Slab CL", sans-serif !important; user-select: text; margin: 0px; overflow-wrap: normal; background: rgb(248, 248, 250); border-radius: 0px; font-size: 0.9em; overflow: initial; padding: 0px; white-space: pre; word-break: normal;">

tensor.contiguous().view()

</pre>

</pre>

raise TypeError("Got inappropriate size arg")

TypeError: Got inappropriate size arg

璋冭瘯 Debug-Run

鐢?VSCode 鏃犳硶璋冭瘯 H5 椤圭洰

npm install -g http-server
http-server

绂佸彲 Disable

running scripts is disabled on this system

get-executionpolicy
#> Restricted
set-executionpolicy remotesigned

https://www.xamrdz.com/backend/35s1933491.html

相关文章: