Description
Dear all,
I trust this message finds you in good health.
I want to express my sincere gratitude for your efforts and for sharing your paper and project codes with us. We, as master's students, are keen to utilize your paper to replicate the work.
We have attempted to use Google Colab and Kaggle for this purpose. However, we encountered some obstacles. Google Colab lacks OpenCL and can't be installed, which is essential for running your code. Additionally, in Kaggle, your code requires numpy version 1.17, as indicated by the following error message:
"ValueError: Unable to compare versions for numpy>=1.17: need=1.17 found=None. This is unusual. Consider reinstalling numpy.
"
Traceback (most recent call last):
File "/kaggle/working/unsupervised-ic-sem-segmentation/train.py", line 4, in
import libs.datasets as datasets
File "/kaggle/working/unsupervised-ic-sem-segmentation/libs/datasets.py", line 8, in
from torchvision.transforms import functional as F
File "/opt/conda/lib/python3.10/site-packages/torchvision/init.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "/opt/conda/lib/python3.10/site-packages/torchvision/models/init.py", line 2, in
from .convnext import *
File "/opt/conda/lib/python3.10/site-packages/torchvision/models/convnext.py", line 8, in
from ..ops.misc import Conv2dNormActivation, Permute
File "/opt/conda/lib/python3.10/site-packages/torchvision/ops/init.py", line 1, in
from ._register_onnx_ops import _register_custom_op
File "/opt/conda/lib/python3.10/site-packages/torchvision/ops/_register_onnx_ops.py", line 5, in
from torch.onnx import symbolic_opset11 as opset11
File "/opt/conda/lib/python3.10/site-packages/torch/onnx/init.py", line 46, in
from ._internal.exporter import ( # usort:skip. needs to be last to avoid circular import
File "/opt/conda/lib/python3.10/site-packages/torch/onnx/_internal/exporter.py", line 42, in
from torch.onnx._internal.fx import (
File "/opt/conda/lib/python3.10/site-packages/torch/onnx/_internal/fx/init.py", line 1, in
from .patcher import ONNXTorchPatcher
File "/opt/conda/lib/python3.10/site-packages/torch/onnx/_internal/fx/patcher.py", line 11, in
import transformers # type: ignore[import]
File "/opt/conda/lib/python3.10/site-packages/transformers/init.py", line 26, in
from . import dependency_versions_check
File "/opt/conda/lib/python3.10/site-packages/transformers/dependency_versions_check.py", line 57, in
require_version_core(deps[pkg])
File "/opt/conda/lib/python3.10/site-packages/transformers/utils/versions.py", line 117, in require_version_core
return require_version(requirement, hint)
File "/opt/conda/lib/python3.10/site-packages/transformers/utils/versions.py", line 111, in require_version
_compare_versions(op, got_ver, want_ver, requirement, pkg, hint)
File "/opt/conda/lib/python3.10/site-packages/transformers/utils/versions.py", line 39, in _compare_versions
raise ValueError(
ValueError: Unable to compare versions for numpy>=1.17: need=1.17 found=None. This is unusual. Consider reinstalling numpy.
"
We kindly seek your assistance in resolving the aforementioned issues so that we can successfully execute the code on either Google Colab or Kaggle. Your guidance and support in this matter would be greatly appreciated. Thank you.
Activity