|
|
|
|
@ -14666,7 +14666,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/competition_teams/").concat(CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data7 = CommitRecords.data) === null || _CommitRecords$data7 === void 0 ? void 0 : _CommitRecords$data7.competition_team_id, "/get_models.json"), {
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: {
|
|
|
|
|
type: (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'gpu' && !(competitionStage !== null && competitionStage !== void 0 && competitionStage.used_section_datasets) ? 4 : 1,
|
|
|
|
|
type: competitionStage !== null && competitionStage !== void 0 && competitionStage.used_section_datasets ? 4 : 1,
|
|
|
|
|
q: '',
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 1
|
|
|
|
|
@ -15156,7 +15156,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
children: "\u9009\u62E9\u955C\u50CF"
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), ((competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'gpu' && (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.used_section_datasets) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'npu') && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
}), !(competitionStage !== null && competitionStage !== void 0 && competitionStage.used_section_datasets) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
align: "middle",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
@ -15253,7 +15253,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
setModels(datasets);
|
|
|
|
|
form.setFieldValue('pattern', datasetsString);
|
|
|
|
|
},
|
|
|
|
|
binRatioTab: !((competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'gpu' && competitionStage !== null && competitionStage !== void 0 && competitionStage.used_section_datasets || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'npu')
|
|
|
|
|
binRatioTab: competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.used_section_datasets
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(MirrorModal, {
|
|
|
|
|
visible: mirrorModalVis,
|
|
|
|
|
teamId: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data18 = CommitRecords.data) === null || _CommitRecords$data18 === void 0 ? void 0 : _CommitRecords$data18.competition_team_id,
|
|
|
|
|
@ -17979,7 +17979,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
|
|
|
|
|
style: {
|
|
|
|
|
height: "100%",
|
|
|
|
|
width: "100%",
|
|
|
|
|
objectFit: "cover"
|
|
|
|
|
objectFit: "fill"
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|