how do i fix: 2023-08-15 22:53:50,104	ERROR tune_controller.py:911 -- Trial task failed for trial train_model_e1db3_00001
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/ray/air/execution/_internal/event_manager.py", line 110, in resolve_future
    result = ray.get(future)
  File "/opt/conda/lib/python3.10/site-packages/ray/_private/auto_init_hook.py", line 24, in auto_init_wrapper
    return fn(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/ray/_private/worker.py", line 2524, in get
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(TypeError): [36mray::ImplicitFunc.train()[39m (pid=141802, ip=172.17.0.2, actor_id=beec02ed67c58b6afd6c2ca401000000, repr=train_model)
  File "/opt/conda/lib/python3.10/site-packages/ray/tune/trainable/trainable.py", line 375, in train
    raise skipped from exception_cause(skipped)
  File "/opt/conda/lib/python3.10/site-packages/ray/tune/trainable/function_trainable.py", line 349, in entrypoint
    return self._trainable_func(
  File "/opt/conda/lib/python3.10/site-packages/ray/tune/trainable/function_trainable.py", line 666, in _trainable_func
    output = fn()
  File "/tmp/ipykernel_113847/2576311403.py", line 319, in train_model
  File "/opt/conda/lib/python3.10/site-packages/ray/air/session.py", line 34, in wrapper
    return fn(*args, **kwargs)
TypeError: get_checkpoint() takes 0 positional arguments but 1 was given
2023-08-15 22:53:50,435	ERROR tune_controller.py:911 -- Trial task failed for trial train_model_e1db3_00002
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/ray/air/execution/_internal/event_manager.py", line 110, in resolve_future
    result = ray.get(future)
  File "/opt/conda/lib/python3.10/site-packages/ray/_private/auto_init_hook.py", line 24, in auto_init_wrapper
    return fn(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/ray/_private/worker.py", line 2524, in get
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(TypeError): [36mray::ImplicitFunc.train()[39m (pid=141803, ip=172.17.0.2, actor_id=ebde18700983c79f9e22005c01000000, repr=train_model)
  File "/opt/conda/lib/python3.10/site-packages/ray/tune/trainable/trainable.py", line 375, in train
    raise skipped from exception_cause(skipped)
  File "/opt/conda/lib/python3.10/site-packages/ray/tune/trainable/function_trainable.py", line 349, in entrypoint
    return self._trainable_func(
  File "/opt/conda/lib/python3.10/site-packages/ray/tune/trainable/function_trainable.py", line 666, in _trainable_func
    output = fn()
  File "/tmp/ipykernel_113847/2576311403.py", line 319, in train_model
  File "/opt/conda/lib/python3.10/site-packages/ray/air/session.py", line 34, in wrapper
    return fn(*args, **kwargs)
TypeError: get_checkpoint() takes 0 positional arguments but 1 was given
[2m[36m(train_model pid=144946)[0m /opt/conda/lib/python3.10/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=ResNet50_Weights.IMAGENET1K_V1`. You can also use `weights=ResNet50_Weights.DEFAULT` to get the most up-to-date weights.
[2m[36m(train_model pid=144946)[0m   warnings.warn(msg)
2023-08-15 22:53:52,740	ERROR tune_controller.py:911 -- Trial task failed for trial train_model_e1db3_00003
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/ray/air/execution/_internal/event_manager.py", line 110, in resolve_future
    result = ray.get(future)
  File "/opt/conda/lib/python3.10/site-packages/ray/_private/auto_init_hook.py", line 24, in auto_init_wrapper
    return fn(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/ray/_private/worker.py", line 2524, in get
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(TypeError): [36mray::ImplicitFunc.train()[39m (pid=144946, ip=172.17.0.2, actor_id=7a2dc6eb0fe9e25f39481c3301000000, repr=train_model)
  File "/opt/conda/lib/python3.10/site-packages/ray/tune/trainable/trainable.py", line 375, in train
    raise skipped from exception_cause(skipped)
  File "/opt/conda/lib/python3.10/site-packages/ray/tune/trainable/function_trainable.py", line 349, in entrypoint
    return self._trainable_func(
  File "/opt/conda/lib/python3.10/site-packages/ray/tune/trainable/function_trainable.py", line 666, in _trainable_func
    output = fn()
  File "/tmp/ipykernel_113847/2576311403.py", line 319, in train_model
  File "/opt/conda/lib/python3.10/site-packages/ray/air/session.py", line 34, in wrapper
    return fn(*args, **kwargs)
TypeError: get_checkpoint() takes 0 positional arguments but 1 was given
2023-08-15 22:53:52,764	ERROR tune.py:1144 -- Trials did not complete: [train_model_e1db3_00000, train_model_e1db3_00001, train_model_e1db3_00002, train_model_e1db3_00003]
2023-08-15 22:53:52,765	INFO tune.py:1148 -- Total run time: 310.86 seconds (310.82 seconds for the tuning loop).