| 
 | 
 
 
发表于 2024-1-13 21:29:42
|
显示全部楼层
 
 
 
 本帖最后由 yabolahan 于 2024-1-13 21:41 编辑  
 
同求,我用版主发的清晰软件会出错,,我是4090显卡 
 
 
开始处理... 
Face detection model: retinaface_resnet50 
Background upsampling: False, Face upsampling: False 
[1/2] Processing: 0000001.png 
        detect 1 faces 
        Failed inference for CodeFormer: nvrtc: error: invalid value for --gpu-architecture (-arch) 
nvrtc compilation failed:  
#define NAN __int_as_float(0x7fffffff) 
#define POS_INFINITY __int_as_float(0x7f800000) 
#define NEG_INFINITY __int_as_float(0xff800000) 
template<typename T> 
__device__ T maximum(T a, T b) { 
  return isnan(a) ? a : (a > b ? a : b); 
} 
template<typename T> 
__device__ T minimum(T a, T b) { 
  return isnan(a) ? a : (a < b ? a : b); 
} 
extern "C" __global__ 
void fused_sigmoid_mul(float* tx_1, float* aten_mul) { 
{ 
  float tx_1_1 = __ldg(tx_1 + (512 * blockIdx.x + threadIdx.x) % 16777216); 
  aten_mul[512 * blockIdx.x + threadIdx.x] = tx_1_1 * (1.f / (1.f + (expf(0.f - tx_1_1)))); 
} 
} 
[2/2] Processing: 232209gjn3o8foi9ujjo83_00.jpg 
        detect 1 faces 
        Failed inference for CodeFormer: nvrtc: error: invalid value for --gpu-architecture (-arch) 
nvrtc compilation failed:  
#define NAN __int_as_float(0x7fffffff) 
#define POS_INFINITY __int_as_float(0x7f800000) 
#define NEG_INFINITY __int_as_float(0xff800000) 
template<typename T> 
__device__ T maximum(T a, T b) { 
  return isnan(a) ? a : (a > b ? a : b); 
} 
template<typename T> 
__device__ T minimum(T a, T b) { 
  return isnan(a) ? a : (a < b ? a : b); 
} 
extern "C" __global__ 
void fused_sigmoid_mul(float* tx_1, float* aten_mul) { 
{ 
  float tx_1_1 = __ldg(tx_1 + (512 * blockIdx.x + threadIdx.x) % 16777216); 
  aten_mul[512 * blockIdx.x + threadIdx.x] = tx_1_1 * (1.f / (1.f + (expf(0.f - tx_1_1)))); 
} 
} 
All results are saved in D:/GUI/codeFormer-GUI-20221230/_internal/test_img/kk 
处理完成! |   
 
 
 
 |