You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an error TypeError: ActNorm1dFlow.forward: kwargs is not present.
This is still occurs regardless of config file or the dataset being used.
Still happens after clean installs of the packages and also when trying the previous MaCow repository.
How can I resolve this?
Traceback (most recent call last):
File "train.py", line 23, in <module>
from wolf.data import load_datasets, get_batch, preprocess, postprocess
File "/media/james/LinuxStorage/Bayes/wolf/wolf/__init__.py", line 3, in <module>
from wolf.wolf import WolfModel
File "/media/james/LinuxStorage/Bayes/wolf/wolf/wolf.py", line 12, in <module>
from wolf.modules import DeQuantizer
File "/media/james/LinuxStorage/Bayes/wolf/wolf/modules/__init__.py", line 3, in <module>
from wolf.modules.dequantization import *
File "/media/james/LinuxStorage/Bayes/wolf/wolf/modules/dequantization/__init__.py", line 3, in <module>
from wolf.modules.dequantization.dequantizer import DeQuantizer, UniformDeQuantizer, FlowDeQuantizer
File "/media/james/LinuxStorage/Bayes/wolf/wolf/modules/dequantization/dequantizer.py", line 9, in <module>
from wolf.flows.flow import Flow
File "/media/james/LinuxStorage/Bayes/wolf/wolf/flows/__init__.py", line 4, in <module>
from wolf.flows.normalization import ActNorm1dFlow, ActNorm2dFlow
File "/media/james/LinuxStorage/Bayes/wolf/wolf/flows/normalization.py", line 13, in <module>
class ActNorm1dFlow(Flow):
File "/media/james/LinuxStorage/Bayes/wolf/wolf/flows/normalization.py", line 26, in ActNorm1dFlow
def forward(self, input: torch.Tensor, mask: Union[torch.Tensor, None] = None) -> Tuple[torch.Tensor, torch.Tensor]:
File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/overrides.py", line 88, in overrides
return _overrides(method, check_signature, check_at_runtime)
File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/overrides.py", line 114, in _overrides
_validate_method(method, super_class, check_signature)
File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/overrides.py", line 135, in _validate_method
ensure_signature_is_compatible(super_method, method, is_static)
File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/signature.py", line 95, in ensure_signature_is_compatible
super_sig, sub_sig, super_type_hints, sub_type_hints, is_static, method_name
File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/signature.py", line 136, in ensure_all_kwargs_defined_in_sub
raise TypeError(f"{method_name}: `{name}` is not present.")
TypeError: ActNorm1dFlow.forward: `kwargs` is not present.
The text was updated successfully, but these errors were encountered:
JTdeep
changed the title
Unable to train
Unable to train. "TypeError: ActNorm1dFlow.forward: kwargs is not present."
May 19, 2021
JTdeep
changed the title
Unable to train. "TypeError: ActNorm1dFlow.forward: kwargs is not present."
Unable to train getting this error: 'TypeError: ActNorm1dFlow.forward: kwargs is not present.'
May 19, 2021
JTdeep
changed the title
Unable to train getting this error: 'TypeError: ActNorm1dFlow.forward: kwargs is not present.'
Unable to train getting this error: "TypeError: ActNorm1dFlow.forward: kwargs is not present."
May 19, 2021
Hello!
I am getting an error TypeError: ActNorm1dFlow.forward:
kwargs
is not present.This is still occurs regardless of config file or the dataset being used.
Still happens after clean installs of the packages and also when trying the previous MaCow repository.
How can I resolve this?
Thank you for the help!!!
The text was updated successfully, but these errors were encountered: