[FAQ]cannot assign 'int' as child module 'precision' (torch.nn.Module or None expected)
Hello, author! I used your example_classification.py and got the following error: Feature: feature_0 (imputer -> normalizer -> ple), Encoded feature dimension: 50
Feature: feature_1 (imputer -> normalizer -> ple), Encoded feature dimension: 50
Feature: feature_2 (imputer -> normalizer -> ple), Encoded feature dimension: 50
Feature: feature_3 (imputer -> normalizer -> ple), Encoded feature dimension: 50
Feature: feature_4 (imputer -> normalizer -> ple), Encoded feature dimension: 50
Trainer already configured with model summary callbacks: [<class 'lightning.pytorch.callbacks.model_summary.ModelSummary'>]. Skipping setting a default ModelSummary callback.
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
Traceback (most recent call last):
File "C:\Users\16776\Desktop\STD_Deep_Learning\mamba-tabular-master\examples\example_classification.py", line 39, in
Process finished with exit code 1 Looking forward to your reply
I could not recreate the issue with the current mambular version and the example_classification.py file. Can you give a minimal example to reproduce the issue as well as information on the used version? Additionally, you could first check if updating mambular already solves the issue.
I could not recreate the issue with the current mambular version and the example_classification.py file. Can you give a minimal example to reproduce the issue as well as information on the used version? Additionally, you could first check if updating mambular already solves the issue.
Hello author, thank you for your reply, I have solved the problem. Lightning requires >= 2.0.0.
I will close this issue, since it seems that updating to the latest version of mambular solves the issue. Feel free to reopen if the bug reoccurs.