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
Input should be None [type=none_required, input_value=1.2, input_type=float] For further information visit https://errors.pydantic.dev/2.8/v/none_required
#243
Open
cherryGQR opened this issue
Sep 3, 2024
· 4 comments
Traceback (most recent call last):
File "/home/cherrygump/anaconda3/envs/nougat/bin/nougat", line 5, in
from predict import main
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/predict.py", line 18, in
from nougat import NougatModel
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/nougat/init.py", line 7, in
from .model import NougatConfig, NougatModel
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/nougat/model.py", line 34, in
from nougat.transforms import train_transform, test_transform
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/nougat/transforms.py", line 146, in
alb.ElasticTransform(
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/albumentations/core/validation.py", line 35, in custom_init
config = dct"InitSchema"
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/pydantic/main.py", line 193, in init
self.pydantic_validator.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for InitSchema
alpha_affine
Input should be None [type=none_required, input_value=1.2, input_type=float]
For further information visit https://errors.pydantic.dev/2.8/v/none_required
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/cherrygump/anaconda3/envs/nougat/bin/nougat", line 5, in
from predict import main
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/predict.py", line 18, in
from nougat import NougatModel
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/nougat/init.py", line 7, in
from .model import NougatConfig, NougatModel
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/nougat/model.py", line 34, in
from nougat.transforms import train_transform, test_transform
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/nougat/transforms.py", line 146, in
alb.ElasticTransform(
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/albumentations/core/validation.py", line 35, in custom_init
config = dct"InitSchema"
File "/home/cherrygump/anaconda3/envs/nougat/lib/python3.10/site-packages/pydantic/main.py", line 193, in init
self.pydantic_validator.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for InitSchema
alpha_affine
Input should be None [type=none_required, input_value=1.2, input_type=float]
For further information visit https://errors.pydantic.dev/2.8/v/none_required
The text was updated successfully, but these errors were encountered: