🔍 API报错解决方案大全

程序员必备 · 错误查询手册 · AI智能解答

🏠 返回首页

1,304

已收录的API报错解决方案

~/anaconda3/envs/syj_alpnet/bin/python3 training.py with \ 'modelname=dlfcn_res101' \ 'usealign=True' \ 'optim_type=sgd' \ num_workers=$NWORKER \ scan_per_load=-1 \ label_sets=$LABEL_SETS \ 'use_wce=True' \ exp_prefix=$PREFIX \ 'clsname=grid_proto' \ n_steps=$NSTEP \ exclude_cls_list=$EXCLU \ eval_fold=$EVAL_FOLD \ dataset=$DATASET \ proto_grid_size=$PROTO_GRID \ max_iters_per_load=$MAX_ITER \ min_fg_data=1 seed=$SEED \ save_snapshot_every=$SNAPSHOT_INTERVAL \ superpix_scale=$SUPERPIX_SCALE \ lr_step_gamma=$DECAY \ path.log_dir=$LOGDIR \ support_idx=$SUPP_ID done done

2025年09月30日

- mySSL - Failed after 0:00:05! Traceback (most recent calls WITHOUT Sacred internals): File "/root/autodl-tmp/Self-supervised-Fewshot-Medical-Image-Segmentation-master/util/utils.py", line 105, in __getitem__ return super().__getitem__(index % len(self)) ZeroDivisionError: integer division or modulo by zero During handling of the above exception, another exception occurred: Traceback (most recent calls WITHOUT Sacred internals): File "training.py", line 82, in main tr_parent = SuperpixelDataset( # base dataset File "/root/autodl-tmp/Self-supervised-Fewshot-Medical-Image-Segmentation-master/dataloaders/GenericSuperDatasetv2.py", line 67, in __init__ self.scan_ids = self.get_scanids(mode, idx_split) # patient ids of the entire fold File "/root/autodl-tmp/Self-supervised-Fewshot-Medical-Image-Segmentation-master/dataloaders/GenericSuperDatasetv2.py", line 98, in get_scanids val_ids = copy.deepcopy(self.img_pids[self.sep[idx_split]: self.sep[idx_split + 1] + self.nsup]) File "/root/autodl-tmp/Self-supervised-Fewshot-Medical-Image-Segmentation-master/util/utils.py", line 101, in __getitem__ return [self[x] for x in self._rangeify(x)] File "/root/autodl-tmp/Self-supervised-Fewshot-Medical-Image-Segmentation-master/util/utils.py", line 101, in <listcomp> return [self[x] for x in self._rangeify(x)] File "/root/autodl-tmp/Self-supervised-Fewshot-Medical-Image-Segmentation-master/util/utils.py", line 107, in __getitem__ raise IndexError('list index out of range') IndexError: list index out of range

2025年09月30日

":{"message":"Prompt is sensitive.\n\n充满科技感的海报,大字写着 DMXAPI\n\nChatCompletion(id='chatcmpl-20250929092236722336067FglPl2ue', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='好的,这是一张充满科技感的海报,上面写着 DMXAPI。\\n', refusal=None, role='assistant', annotations=None, audio=None, function_call=None, tool_calls=None))], created=1759108957, model='gemini-2.5-flash-image-preview', object='***.completion', service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=18, prompt_tokens=14, total_tokens=32, completion_tokens_details=CompletionTokensDetails(accepted_prediction_tokens=None, audio_tokens=0, reasoning_tokens=0, rejected_prediction_tokens=None, text_tokens=0), prompt_tokens_details=PromptTokensDetails(audio_tokens=0, cached_tokens=0, text_tokens=14, image_tokens=0), input_tokens=0, output_tokens=0, input_tokens_details=None)) (request id: 20250929092145583016201iLgPAKI1)","type":"openai_error","param":"","code":"unknown_error"}}

2025年09月29日