Nikita

Results 31 comments of Nikita

In case anyone wants a hack to do this, here is my [AutoHotKey](https://autohotkey.com/) script for changing `\r\n` to `\n` when pasting to alacritty ```ahk ; For window with name "Alacritty"...

Using `factory.load(data, _cls)` with missing fields in `data` and no defaults for fields in `_cls` will result in TypeError. Would like to see custom Exception like `MissingFieldError` Example: ```python from...

The actual problem is that package 'keras_text_summarization' needs to be installed in order to be used. Just type in `python setup.py install` in the root folder of the project. Source:...

See this as well but only on tflite step. My (initialy pytorch converted) onnx model has 3 outputs with names "b", "a", "c". TF model output (`tf_model(**input_dict)`) is `{"b": tensor1,...

@chinhuang007 TF model is indeed converted right. Maybe should lurk for bug in TF-Lite repo.

@jamjambles in my case I had outputs sorted lexicographically by output names :DDD e.g. my torch model output [1, 2, 3] (corresponds to names ["b", "a", "c"]). tensorflow output {"b":...

Same here with method chains ### Without comments ```python self.records = ( pd.read_csv(config.data.dataset_path, nrows=config.data.n_records) .dropna(subset=[self.filepath_column, *config.targets]) .reset_index(drop=True) ) ``` ### With comments (2 methods in one line for some reason)...

@shalldie doing `sudo chmod a+rw '/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css'` helped for me. thanks!

my trainer output looks very bad ```python args = TrainingArguments( "pokemon-habitat", evaluation_strategy="epoch", per_device_train_batch_size=batch_size, per_device_eval_batch_size=batch_size, num_train_epochs=num_epochs, use_mps_device=True, ) # Trainer trainer = Trainer( model, args, train_dataset=dataset["train"], eval_dataset=dataset["test"], compute_metrics=compute_metrics, ) trainer.train() ```...