Project

General

Profile

Actions

Bug #4190

open

ValueError during model execution – invalid conversion of class name to int

Added by Deepu SS 10 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Start date:
09/26/2025
Due date:
% Done:

0%

Estimated time:
Planned Due Date:

Description

When executing the pipeline with the loaded model
D:/Data/Test_Inner/14-07-2025/Random Forest/Random Forest_t01_Trained.sav,
the application crashes during model execution.
Error Trace:
if int(self.class_name) 29 or int(self.class_name) 30:
ValueError: invalid literal for int() with base 10: 'Trained.sav'
Cause:
The variable self.class_name contains the string "Trained.sav" instead of a numeric class identifier.
Attempting to convert this string to an integer with int() raises a ValueError.

Actions

Also available in: Atom PDF