Lu Tao

Results 17 issues of Lu Tao

IndexError Traceback (most recent call last) [](https://localhost:8080/#) in () 18 adam.step() 19 ---> 20 train_loss.append(loss.data[0]) 21 22 if batch_id % 10 == 0: IndexError: invalid index of a 0-dim tensor....

This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./template_cn_blue.tex LaTeX2e patch level 5 L3 programming layer (d:/texlive/2020/texmf-dist/tex/latex/moderncv/moderncv.cls Document Class: moderncv 2015/07/28 v2.0.0...

https://download.llamameta.net/

In file **train.py **and** train_search.py**, you need to replace this: ``` # objs.update(loss.data[0], n) # top1.update(prec1.data[0], n) # top5.update(prec5.data[0], n) ``` to ``` objs.update(loss.item(), n) top1.update(prec1.item(), n) top5.update(prec5.item(), n) ```

By using both `.sh` and by hand method, I failed in **setup.py** anyway. Could you be so kind to check which is the key point? ``` Compiling toolkit/utils/region.pyx because it...

windows with python 3.9 faced problems: ``` (cu118) PS D:\0code\pix2pixHD> conda list # packages in environment at C:\Users\lutao\.conda\envs\cu118: # # Name Version Build Channel blas 1.0 mkl defaults brotli-python 1.0.9...

1. Error 1 ``` ValueError: stat: embedded null character in path ``` When generating `local.py`, the path is not in the proper formate. It should be started with "r". 2....

Downloading and Extracting Packages Preparing transaction: done Verifying transaction: done Executing transaction: / For Linux 64, Open MPI is built with CUDA awareness but this support is disabled by default....

Open MPI is not supported under windows.

To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. Traceback (most recent call last): File "D:\0code\IR_dataset\align\gen_seg_deeplab3.py", line 7, in segment_image = semantic_segmentation()...