Skip to content

Commit

Permalink
change how to calculate filesize
Browse files Browse the repository at this point in the history
  • Loading branch information
rifqiharrys committed Mar 15, 2021
1 parent 6d54aec commit 8ae9f72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdb_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,9 +989,9 @@ def results(self, result_list):
global print_result_info
print_result_info = (
'Image Input:\t\t' + self.imglocList.toPlainText() + ' (' +
str(round(img_size / 2**10 / 2**10, 2)) + ' MB)\n' +
str(round(img_size / 2**20, 2)) + ' MB)\n' +
'Sample Data:\t\t' + self.samplelocList.toPlainText() + ' (' +
str(round(sample_size / 2**10 / 2**10, 2)) + ' MB)\n\n' +
str(round(sample_size / 2**20, 2)) + ' MB)\n\n' +
print_limit + '\n' +
'Train Data:\t\t' + str(self.trainPercentDSB.value()) + ' %\n' +
'Test Data:\t\t' + str(100 - self.trainPercentDSB.value()) + ' %\n\n' +
Expand Down

0 comments on commit 8ae9f72

Please sign in to comment.