Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #958

Merged
merged 65 commits into from
Dec 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
53fe230
Merge pull request #946 from singnet/training
MarinaFedy Nov 20, 2024
78313e4
Merge pull request #948 from singnet/training
MarinaFedy Nov 22, 2024
25e75d1
[SPT-767] Added Data preset tab
Nov 26, 2024
31cc122
[SPT-767] Added Snet Dialog component
Nov 26, 2024
adc2750
[SPT-767] Updated file uploader component
Nov 26, 2024
b585153
[SPT-767] Added gradient button type
Nov 26, 2024
51a01de
[SPT-767] Added dataset info
Nov 26, 2024
811f794
[SPT-767] Added example datasets
Nov 26, 2024
d5a74ee
[SPT-767] Added merge button and empty second uploader state
Nov 26, 2024
270863c
[SPT-767] Added dashboard dialog
Nov 26, 2024
3e3a8bb
[SPT-767] Added dataset client
Nov 26, 2024
0aa39b0
[SPT-767] Added dashboard parameters
Nov 26, 2024
06aa0b8
[SPT-767] Added disable state for fime-tune button
Nov 26, 2024
b650056
[SPT-767] Added storage data
Nov 27, 2024
bbb7fd2
[SPT-767] Added removing datasets from uploader
Nov 27, 2024
ec73d9c
[SPT-767] Added graphs
Nov 27, 2024
3e19f02
[SPT-767] updated parameters for dashboard
Nov 27, 2024
d78e068
[SPT-767] added tabs with recent and example datasets
Nov 27, 2024
af402db
[SPT-737] Removed selecting of training method
Nov 27, 2024
ff555d7
[SPT-767] updated dataset for training data (added name and size)
Nov 27, 2024
f62ddc1
[SPT-767] added convert to file size to viewing format
Nov 27, 2024
0e05737
[SPT-737] fixed link to models tab from about service tab
Nov 27, 2024
57a260e
[SPT-767] added navigate to training model from dataset editor
Nov 27, 2024
5b3496a
[SPT-737] removed excess prop for TrainingModels component
Nov 27, 2024
ffe8654
[SPT-767] updated selecting improvment parameters
Nov 27, 2024
c536b1b
[SPT-767] updated key for uploading to s3
Nov 27, 2024
c9d9e6f
[SPT-767] fixed file type for uploader
Nov 27, 2024
6171a97
[SPT-738] fixed warning with card header for create traininh model
Nov 27, 2024
5243cd5
[SPT-767] Added storage data
Nov 29, 2024
26ae6f5
[SPT-767] updated dashboard structure
Nov 29, 2024
94ae949
[SPT-767] updated scrollbar view
Nov 29, 2024
76d6adc
[SPT-767] fixed selecting dasboard improvment parameters
Nov 29, 2024
ff342c3
[SPT-767] fixed icon for styled button
Nov 29, 2024
f4d9952
[SPT-767] fixed table head
Nov 29, 2024
a8192c7
[SPT-767] Added storage data
Dec 2, 2024
6971976
[SPT-767] fixed dashboard data
Dec 2, 2024
4a7d03e
[SPT-767] fixed dataset info displaying
Dec 2, 2024
606c542
[SPT-767] fixed types for upload zip
Dec 2, 2024
fc1bd03
[SPT-767] added loader to dataset uploader
Dec 2, 2024
7a50c34
[SPT-767] added loader to geting dataset statistic and fix upload dat…
Dec 2, 2024
18e081a
[SPT-767] updated file loader style
Dec 2, 2024
0e8bd36
[SPT-767] added merge dataset functionality
Dec 2, 2024
95de21b
[SPT-767] fixed merged dataset name
Dec 2, 2024
822f804
[SPT-767] Added storage data
Dec 2, 2024
67ecb1f
[SPT-767] updated example datasets
Dec 3, 2024
915ff6f
Merge pull request #950 from singnet/data-preset-tab
TerNik Dec 3, 2024
2246e7f
[SPT-767] removed wrong prop name handler
Dec 3, 2024
caa6ca7
[SPT-767] fixed bug on dataset uploading
Dec 3, 2024
28d3586
[SPT-767] fixed console error
Dec 3, 2024
4718c27
[SPT-767] added getting size for datasets from s3
Dec 3, 2024
52ed2ce
[SPT-767] updated displaying recent and examples datasets
Dec 3, 2024
6c33ec3
Merge pull request #951 from singnet/data-preset-tab
MarinaFedy Dec 3, 2024
c23b273
[SPT-767] updated examples datasets
Dec 3, 2024
4468c7e
Merge pull request #952 from singnet/data-preset-tab
MarinaFedy Dec 3, 2024
e49cb13
[SPT-767] fix model for fine-tune
Dec 3, 2024
c4da308
Merge pull request #953 from singnet/data-preset-tab
TerNik Dec 3, 2024
4fb9355
[SPT-767] fixed styles for dataset preset tab
Dec 4, 2024
e820f3c
[SPT-767] fixed prop name for improved dataset
Dec 4, 2024
383d4d9
[SPT-767] added a check against an empty table for the sample table
Dec 4, 2024
fa96474
[SPT-767] removed log for treemap graph
Dec 4, 2024
cf5dca7
Merge pull request #954 from singnet/data-preset-tab
MarinaFedy Dec 4, 2024
c83dbf2
[SPT-767] fixed set dataset after improvment
Dec 9, 2024
ef6ecbc
Merge pull request #955 from singnet/data-preset-tab
MarinaFedy Dec 9, 2024
9fc6a33
[SPT-767] fixed error in open service without training
Dec 25, 2024
b67d09d
Merge pull request #957 from singnet/data-preset-tab
MarinaFedy Dec 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[SPT-767] fixed types for upload zip
Marina Fedyantceva committed Dec 2, 2024
commit 606c5426c50fd207ddfbd48081480e7b39275319
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ import DatasetTabs from "../DatasetTabs";
import { useDispatch } from "react-redux";
import { fileSizeConverter } from "../../../../utility/JSHelper";

const acceptedFileTypes = { "application/zip": ".zip", "application/x-zip-compressed": ".zip" };
const acceptedFileTypes = { "application/zip": [".zip"], "application/x-zip-compressed": [".zip"] };
// const datasetParameters = [
// { title: "Size", value: "11.2Mb" },
// { title: "Format", value: "TXT" },
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ import { withStyles } from "@mui/styles";
import { useStyles } from "./styles";
import { useDispatch } from "react-redux";

const acceptedFileTypes = { "application/zip": ".zip", "application/x-zip-compressed": ".zip" };
const acceptedFileTypes = { "application/zip": [".zip"], "application/x-zip-compressed": [".zip"] };

const Data = ({ classes, trainingDataset, setTrainingDataset }) => {
const dispatch = useDispatch();
@@ -32,7 +32,7 @@ const Data = ({ classes, trainingDataset, setTrainingDataset }) => {

setTrainingDataFileName(name);
setTrainingDataFileSize(size);
const { url } = await dispatch(publishDatasetForTraining(fileBlob, name));
const { url } = await dispatch(publishDatasetForTraining(fileBlob, name));

setTrainingDataset({ link: url, name, size });
} catch (error) {