-
Notifications
You must be signed in to change notification settings - Fork 0
/
streamlit_logs.txt
72 lines (67 loc) · 4.38 KB
/
streamlit_logs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.
You can now view your Streamlit app in your browser.
Network URL: http://10.241.194.197:8501
External URL: http://52.12.55.86:8501
2024-07-02 21:28:03.735 Uncaught app exception
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.__dict__)
File "/home/ubuntu/streamlit-hello/Hello.py", line 34, in <module>
input_df = pd.get_dummies(input_df, columns=['island', 'sex'])
NameError: name 'input_df' is not defined
2024-07-02 21:28:38.531 Uncaught app exception
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.__dict__)
File "/home/ubuntu/streamlit-hello/Hello.py", line 34, in <module>
input_df = pd.get_dummies(input_df, columns=['island', 'sex'])
NameError: name 'input_df' is not defined
2024-07-02 21:30:53.112 Uncaught app exception
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.__dict__)
File "/home/ubuntu/streamlit-hello/Hello.py", line 34, in <module>
input_df = pd.get_dummies(input_df, columns=['island', 'sex'])
NameError: name 'input_df' is not defined
2024-07-02 21:35:40.443 Uncaught app exception
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.__dict__)
File "/home/ubuntu/streamlit-hello/Hello.py", line 34, in <module>
input_df = pd.get_dummies(input_df, columns=['island', 'sex'])
NameError: name 'input_df' is not defined
2024-07-02 21:38:29.359 Dummy model created successfully.
2024-07-02 21:38:29.359 model.pkl file is present in the directory.
2024-07-02 21:38:29.359 Attempting to load the model from 'model.pkl'.
2024-07-02 21:38:30.044 Model loaded successfully.
/home/ubuntu/.local/lib/python3.10/site-packages/sklearn/base.py:486: UserWarning: X has feature names, but RandomForestClassifier was fitted without feature names
warnings.warn(
2024-07-02 21:38:30.063 Error during prediction: X has 6 features, but RandomForestClassifier is expecting 4 features as input.
2024-07-02 21:50:54.281 Dummy model created successfully.
2024-07-02 21:50:54.281 model.pkl file is present in the directory.
2024-07-02 21:50:54.282 Attempting to load the model from 'model.pkl'.
2024-07-02 21:50:54.328 Model loaded successfully.
2024-07-02 22:16:28.043 Attempting to load the model from 'model.pkl'.
2024-07-02 22:16:28.158 Model loaded successfully.
/home/ubuntu/.local/lib/python3.10/site-packages/sklearn/base.py:486: UserWarning: X has feature names, but RandomForestClassifier was fitted without feature names
warnings.warn(
2024-07-02 22:16:28.175 Error during prediction: could not convert string to float: 'Biscoe'
2024-07-02 23:00:24.678 Attempting to load the model from 'model.pkl'.
2024-07-02 23:00:24.796 Model loaded successfully.
2024-07-02 23:00:24.811 Uncaught app exception
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.__dict__)
File "/home/ubuntu/streamlit-hello/Hello.py", line 110, in <module>
run()
File "/home/ubuntu/streamlit-hello/Hello.py", line 65, in run
input_df = pd.get_dummies(input_df, columns=['island', 'sex'], drop_first=True)
File "/home/ubuntu/.local/lib/python3.10/site-packages/pandas/core/reshape/encoding.py", line 164, in get_dummies
data_to_encode = data[columns]
File "/home/ubuntu/.local/lib/python3.10/site-packages/pandas/core/frame.py", line 3899, in __getitem__
indexer = self.columns._get_indexer_strict(key, "columns")[1]
File "/home/ubuntu/.local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 6114, in _get_indexer_strict
self._raise_if_missing(keyarr, indexer, axis_name)
File "/home/ubuntu/.local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 6175, in _raise_if_missing
raise KeyError(f"None of [{key}] are in the [{axis_name}]")
KeyError: "None of [Index(['island', 'sex'], dtype='object')] are in the [columns]"