Talha Anwar
Talha Anwar
I think the torch version should be installed by the user. Currently with `v0.1.0`, `torch-1.8.1` is installed which throws the error `AssertionError: Torch not compiled with CUDA enabled`. And as...
I am using google colab. While using `EfficientNetB3` i am getting the following error `Resource exhausted: OOM when allocating tensor with shape[15,95,95,192] and type float` I understand this because my...
I am trying to do speech recognition using google speech to text API in python ``` import speech_recognition as sr def takeCommand(file,lang): r = sr.Recognizer() harvard = sr.AudioFile(file) with harvard...
### System Info ```shell torch==1.10.1+cu111 onnx==1.11.0 onnxruntime==1.11.1 optimum==1.2.3 Python 3.8.10 OS: Ubuntu 20.04 ``` ### Who can help? @echarlaix @JingyaHuang ### Information - [ ] The official example scripts -...
Here is my code ``` config = deeptable.ModelConfig(nets=deepnets.DeepFM) dt = deeptable.DeepTable(config=config) model, history = dt.fit(train, y_train,callbacks=None, epochs=200) ``` I don't want to have early stopping, what should I do? This...
I am following this code in [app_record](https://github.com/whitphx/streamlit-webrtc/blob/main/app_record.py) but it save video file in low quality though i am capturing it with my mobile. Is there a way to save video...
Here the augmentation function. ``` def rand_augmentation(): aug=transforms.Compose([ transforms.RandomResizedCrop(248, scale=(0.08, 1.0), interpolation=Image.BICUBIC), transforms.RandomHorizontalFlip(1), transforms.RandomVerticalFlip(1), transforms.RandomRotation(degrees=30), transforms.ColorJitter(brightness=0.4,contrast=0.4,saturation=0.4), transforms.RandomPerspective(distortion_scale=0.1), transforms.RandomAffine(degrees=10), transforms.ToTensor(), transforms.RandomErasing(p=0.5), transforms.Normalize((0.5, ), (0.5, )), ]) return aug.transforms.insert(0, RandAugment(4, 3)) ```...
TypeError: '(array([ 2, 4, 6, ..., 3495, 3497, 3498]), slice(None, None, None))' is an invalid key
I am not sure why this error occurs, the first thing i can think sk-multilearn accept data in a specific format. ``` from skmultilearn.model_selection import iterative_train_test_split X_train, y_train, X_test, y_test...
Is there a way to calculate step which does not throw error and greater than 1 For example, I have 3D image of shape `(512, 512, 110)`, I want to...
I notices when we run any code snippet, it convert the text to vectors or some similar thing. For example in this code snippet ``` from adaptnlp import EasyQuestionAnswering from...