【代码报错】We cannot build a tree with gain是什么错
由bq637qqp创建,最终由small_q 被浏览 3 用户
File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/modules.py:28, in call(self, **kwargs) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:203, in module_invoke(name, version, kwargs) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:169, in _module_invoke(name, version, kwargs) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:41, in _module_run(module, kwargs) File dist/build/stockranker/v9/init.py:86, in v9.run() File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/modules.py:28, in call(self, **kwargs) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:203, in module_invoke(name, version, kwargs) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:169, in _module_invoke(name, version, kwargs) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:41, in _module_run(module, kwargs) File dist/build/python/v1/init.py:54, in v1.run() File dist/build/stockranker/v9/utils.py:1075, in v9.utils.train() File dist/build/stockranker/v9/utils.py:979, in v9.utils.train._train() File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/sh.py:882, in RunningCommand.next(self) 880 else: 881 if chunk is None: --> 882 self.wait() 883 self._stopped_iteration = True 884 raise StopIteration() File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/sh.py:799, in RunningCommand.wait(self, timeout) 796 raise TimeoutException(-exit_code, self.ran) 798 else: --> 799 self.handle_command_exit_code(exit_code) 801 # if an iterable command is using an instance of OProc for its stdin, 802 # wait on it. the process is probably set to "piped", which means it 803 # won't be waited on, which means exceptions won't propagate up to the 804 # main thread. this allows them to bubble up 805 if self.process._stdin_process: File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/sh.py:826, in RunningCommand.handle_command_exit_code(self, code) 822 if exc_class: 823 exc = exc_class( 824 self.ran, self.process.stdout, self.process.stderr, ca["truncate_exc"] 825 ) --> 826 raise exc ErrorReturnCode_255: RAN: /usr/local/bin/wine StockRanker.exe /ini /tmp/bb81a10f5aee48b08fb0927ca4d71ba6/features.ini /tr /tmp/bb81a10f5aee48b08fb0927ca4d71ba6/training.bin /h /tmp/bb81a10f5aee48b08fb0927ca4d71ba6/ranker.ini /l 30 /d 1000 /w 20 /c 0.1 /r2 123 /ps 30 /t 2 /ap lambdarank /topn 10 /bdp 0.2 /ms 'C:\stockranker\MetaStreamDefinitionList.ini' /shiftedNDCG /cf w /dw /nl /ff 1 /sf 1 /vfrac 0 /mb 1024 /gcfe 1 /fcomp 1 /ndcgdiscountbase 1 /ExperimentID bb81a10f5aee48b08fb0927ca4d71ba6 /Owner null /graph /graphtv /fg /gains 0:1:2:3:4:5:6:7:8:9 /sfrac 0.0 STDOUT: achine count = 1, degenerate to single version. ost = STUDIO-1BFF4FB6
...
002c:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\aiuser". 002c:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\aiuser\\AppData\\Local". Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5. http://www.freetype.org We cannot build a tree with gain = -�� Error in training : Object reference not set to an instance of an object. StackTrace: at FastRank.LambdaRankObjectiveFunction.FastRank.IStepSearch.AdjustTreeOutputs(RegressionTree tree, DocumentPartitioning partitioning, Score... (340 more, please see e.stderr)
Output is truncated. View as a open in a text editor. Adjust cell output settings...