profile
viewpoint
Edgar Andrés Margffoy Tuay andfoy @quansight Bogotá, Colombia http://margffoy-tuay.com Systems and Computing Engineering MSc student at Uniandes. Currently working at the intersection between Computer Vision and NLU. Spyder developer

andfoy/deep-learning-models 1

Collection of Supervised, Semisupervised and Unsupervised models suitable for deep learning applications. (MATLAB/Python)

andfoy/LaTeX-Editor 1

Real time collaborative LaTeX Editor that supports every TeXLive library and existing compilers and utillities

andfoy/3d-cv-exercises 0

Repository for 3D Computer Vision exercises at TU Kaiserslautern

andfoy/andfoy.github.io 0

Test Repository

andfoy/AntennaPod 0

A podcast manager for Android

andfoy/bsc-dissertation 0

Dynamic Multimodal Object Segmentation based on natural language referring expressions and its applications

andfoy/builder 0

Continuous builder and binary build scripts for pytorch

andfoy/candelaria-maps 0

Touristic guide app for Bogotá historical center.

andfoy/cpd-exercises 0

Concurrency, Parallelism and Distribution class homeworks and exercises

andfoy/curryrs 0

Bridge the gap between Haskell and Rust

pull request commentpalantir/python-language-server

PR: Synchronize document text updates

It is not possible to guarantee a certain scenario for concurrent accesses, since it is not possible to ensure that a specific thread arrives before other

andfoy

comment created time in 2 days

push eventspyder-ide/pyls-spyder

Edgar Andrés Margffoy Tuay

commit sha 5aaaf65dd0f5d28d0930f522d29a929628f51f79

Install mock

view details

push time in 2 days

PR closed spyder-ide/pyls-spyder

PR: Parse cells and block comments and include them as part of textDocument/symbol call

This PR restores code cells and block comments symbols for Spyder after PR https://github.com/spyder-ide/spyder/pull/13109

+311 -0

1 comment

7 changed files

andfoy

pr closed time in 2 days

PR opened spyder-ide/pyls-spyder

PR: Parse cells and block comments and include them as part of textDocument/symbol call

This PR restores code cells and block comments symbols for Spyder after PR spyder-ide/spyder#13109

+311 -0

0 comment

7 changed files

pr created time in 2 days

create barnchspyder-ide/pyls-spyder

branch : add_cells_blocks

created branch time in 2 days

push eventandfoy/pyls-spyder

Edgar Andrés Margffoy Tuay

commit sha 8e97d8d3013bbb20e784a13d024e3b43df73e741

Rename file

view details

push time in 2 days

push eventandfoy/pyls-spyder

Edgar Andrés Margffoy Tuay

commit sha e20abd8951a276de3c9803ef54259c0aa547b38f

Move tests.yml under .github/workflows

view details

push time in 2 days

PR opened spyder-ide/pyls-spyder

PR: Parse cells and block comments and include them as part of textDocument/symbol call

This PR restores code cells and block comments symbols for Spyder after PR https://github.com/spyder-ide/spyder/pull/13109

+311 -0

0 comment

8 changed files

pr created time in 2 days

create barnchandfoy/pyls-spyder

branch : add_cells_blocks

created branch time in 2 days

push eventandfoy/python-language-server

Edgar Andrés Margffoy Tuay

commit sha 3a268d7c263756fd9c3da0e2118c5a1bde8a2c9a

Address review comments

view details

push time in 2 days

delete branch andfoy/vision

delete branch : write_jpeg_png

delete time in 2 days

push eventandfoy/vision

Philip Meier

commit sha 6a43a1f825f13b1cee69f954f5ec52ae5f2774ea

limit requests per time in download tests (#2699)

view details

Francisco Massa

commit sha 15848edbc3c5282ced487a62192fbc763d052019

Fix deprecation warning in nonzero (#2705) Replace nonzero by where, now that it works with just a condition

view details

Aditya Oke

commit sha 6e10e3f88158f12b7a304d3c2f803d2bbdde0823

Adds Generalized IOU (#2642) * tries adding genaralized_iou * fixes linting * Adds docs for giou, iou and box area * fixes lint * removes docs to fixup in other PR * linter fix * Cleans comments * Adds tests for box area, iou and giou * typo fix for testCase * fixes typo * fixes box area test * fixes implementation * updates tests to tolerance

view details

Edgar Andrés Margffoy Tuay

commit sha 662373f6057bb0d39eaf6e5fde3083639ed93af3

Add encoding and writing JPEG ops (#2696) * Add decode and write JPEG ops * Fix styling issues * Use int64_t instead of int * Use std::string * Use jpegcommon.h for read_jpeg * Minor updates to error handling in read * Include header only once * Reverse header inclusion * Update common header * Add common definitions * Include string * Include header? * Include header? * Add Python frontend calls * Use unsigned long directly * Fix style issues * Include cstddef * Ignore clang-format on cstddef * Also include stdio * Add JPEG and PNG include dirs * Use C10_EXPORT * Add JPEG encoding test * Set quality to 75 by default and add write jpeg test * Minor error correction * Use assertEquals by assertEqual * Remove test results * Use pre-saved PIL output * Remove extra PIL call * Use read_jpeg instead of PIL * Add error tests * Address review comments * Fix style issues * Set test case to uint8 * Update test error check * Apply suggestions from code review * Fix clang-format * Fix lint * Fix test * Remove unused file * Fix regex error message * Fix tests Co-authored-by: Francisco Massa <fvsmassa@gmail.com>

view details

Edgar Andrés Margffoy Tuay

commit sha 71b1262f9ec105c4767685c5e1bd8a1eca58b5a4

Merge branch 'master' into distribute_ffmpeg

view details

push time in 2 days

fork andfoy/pyls-spyder

Spyder extensions for the python language server (pyls)

fork in 3 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha f5438ce1f3d371f9a1734ccd924631e2f8736e61

Update test error check

view details

push time in 3 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 4c1c081e80f8ab7b97b3750d9aa366ab28914be8

Set test case to uint8

view details

push time in 3 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha fd5e1c318981e37e9f92cf76c2cd9d8b2bf87132

Fix style issues

view details

push time in 3 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 67d18fe8a6ff0494f4520c2ecd5b7c030c3036f5

Address review comments

view details

Edgar Andrés Margffoy Tuay

commit sha bf89a2097d51d6a645a5758246ba14d8b6dc56a2

Merge branch 'write_jpeg_png' of github.com:andfoy/vision into write_jpeg_png Merge!

view details

push time in 3 days

Pull request review commentpytorch/vision

Add encoding and writing JPEG ops

+#include "writejpeg_cpu.h"++#include <setjmp.h>+#include <string>++#if !JPEG_FOUND++torch::Tensor encodeJPEG(const torch::Tensor& data, int64_t quality) {+  TORCH_CHECK(+      false, "encodeJPEG: torchvision not compiled with libjpeg support");+}++void writeJPEG(+    const torch::Tensor& data,+    std::string filename,+    int64_t quality) {+  TORCH_CHECK(+      false, "writeJPEG: torchvision not compiled with libjpeg support");+}++#else++#include <jpeglib.h>+#include "jpegcommon.h"++struct torch_jpeg_dst_mgr {+  struct jpeg_destination_mgr pub;+  uint8_t* out;+  JOCTET* buffer;+};++torch::Tensor encodeJPEG(const torch::Tensor& data, int64_t quality) {+  // Define compression structures and error handling+  struct jpeg_compress_struct cinfo;+  struct torch_jpeg_error_mgr jerr;++  // Define buffer to write JPEG information to and its size+  unsigned long jpegSize = 0;+  uint8_t* jpegBuf = NULL;++  cinfo.err = jpeg_std_error(&jerr.pub);+  jerr.pub.error_exit = torch_jpeg_error_exit;++  /* Establish the setjmp return context for my_error_exit to use. */+  if (setjmp(jerr.setjmp_buffer)) {+    /* If we get here, the JPEG code has signaled an error.+     * We need to clean up the JPEG object and the buffer.+     */+    jpeg_destroy_compress(&cinfo);+    if (jpegBuf != NULL) {+      free(jpegBuf);+    }++    TORCH_CHECK(false, (const char*)jerr.jpegLastErrorMsg);+  }++  // Get image info+  int channels, height, width;++  // Move tensor to CPU and cast it into uint8+  torch::Tensor input = data.to(torch::kCPU).to(torch::kU8);++  TORCH_CHECK(+      data.dim() >= 2 && data.dim() <= 3,+      "Input data should be a 3-dimensional or a 2-dimensional tensor");++  if (data.dim() == 3) {+    channels = data.size(0);+    height = data.size(1);+    width = data.size(2);+    input = input.permute({1, 2, 0});+  } else {+    channels = 1;+    height = data.size(1);+    width = data.size(2);+  }++  std::ostringstream channelErrS;+  channelErrS << "The number of channels should be 1 or 3, got: " << channels;++  const std::string& channelErrStr = channelErrS.str();+  const char* channelErr = channelErrStr.c_str();+  TORCH_CHECK(channels == 1 || channels == 3, channelErr);++  // Initialize JPEG structure+  jpeg_create_compress(&cinfo);++  // Set output image information+  cinfo.image_width = width;+  cinfo.image_height = height;+  cinfo.input_components = channels;+  cinfo.in_color_space = channels == 1 ? JCS_GRAYSCALE : JCS_RGB;++  jpeg_set_defaults(&cinfo);+  jpeg_set_quality(&cinfo, quality, TRUE);++  // Save JPEG output to a buffer+  jpeg_mem_dest(&cinfo, &jpegBuf, &jpegSize);++  // Start JPEG compression+  jpeg_start_compress(&cinfo, TRUE);++  auto stride = width * channels;+  auto ptr = input.data_ptr<uint8_t>();++  // Encode JPEG file+  while (cinfo.next_scanline < cinfo.image_height) {+    jpeg_write_scanlines(&cinfo, &ptr, 1);+    ptr += stride;+  }++  jpeg_finish_compress(&cinfo);+  jpeg_destroy_compress(&cinfo);++  torch::TensorOptions options = torch::TensorOptions{torch::kU8};+  auto outTensor = torch::empty({(long)jpegSize}, options);++  // Copy memory from jpeg buffer, since torch cannot get ownership of it via+  // `from_blob`+  auto outPtr = outTensor.data_ptr<uint8_t>();+  std::memcpy(outPtr, jpegBuf, sizeof(uint8_t) * outTensor.numel());++  free(jpegBuf);++  return outTensor;+}++void writeJPEG(+    const torch::Tensor& data,+    std::string filename,+    int64_t quality) {+  auto jpegBuf = encodeJPEG(data, quality);+  auto fileBytes = jpegBuf.data_ptr<uint8_t>();+  auto fileCStr = filename.c_str();+  FILE* outfile = fopen(fileCStr, "wb");++  TORCH_CHECK(outfile != NULL, "Error opening output jpeg file");++  fwrite(fileBytes, sizeof(uint8_t), jpegBuf.numel(), outfile);+  fclose(outfile);+}

I can move the save part to Python, however I was thinking this function to be exposed to the C++ API

andfoy

comment created time in 3 days

PullRequestReviewEvent

Pull request review commentpytorch/vision

Add encoding and writing JPEG ops

+#include "writejpeg_cpu.h"++#include <setjmp.h>+#include <string>++#if !JPEG_FOUND++torch::Tensor encodeJPEG(const torch::Tensor& data, int64_t quality) {+  TORCH_CHECK(+      false, "encodeJPEG: torchvision not compiled with libjpeg support");+}++void writeJPEG(+    const torch::Tensor& data,+    std::string filename,+    int64_t quality) {+  TORCH_CHECK(+      false, "writeJPEG: torchvision not compiled with libjpeg support");+}++#else++#include <jpeglib.h>+#include "jpegcommon.h"++struct torch_jpeg_dst_mgr {+  struct jpeg_destination_mgr pub;+  uint8_t* out;+  JOCTET* buffer;+};++torch::Tensor encodeJPEG(const torch::Tensor& data, int64_t quality) {+  // Define compression structures and error handling+  struct jpeg_compress_struct cinfo;+  struct torch_jpeg_error_mgr jerr;++  // Define buffer to write JPEG information to and its size+  unsigned long jpegSize = 0;+  uint8_t* jpegBuf = NULL;++  cinfo.err = jpeg_std_error(&jerr.pub);+  jerr.pub.error_exit = torch_jpeg_error_exit;++  /* Establish the setjmp return context for my_error_exit to use. */+  if (setjmp(jerr.setjmp_buffer)) {+    /* If we get here, the JPEG code has signaled an error.+     * We need to clean up the JPEG object and the buffer.+     */+    jpeg_destroy_compress(&cinfo);+    if (jpegBuf != NULL) {+      free(jpegBuf);+    }++    TORCH_CHECK(false, (const char*)jerr.jpegLastErrorMsg);+  }++  // Get image info+  int channels, height, width;++  // Move tensor to CPU and cast it into uint8+  torch::Tensor input = data.to(torch::kCPU).to(torch::kU8);++  TORCH_CHECK(+      data.dim() >= 2 && data.dim() <= 3,+      "Input data should be a 3-dimensional or a 2-dimensional tensor");++  if (data.dim() == 3) {+    channels = data.size(0);+    height = data.size(1);+    width = data.size(2);+    input = input.permute({1, 2, 0});+  } else {+    channels = 1;+    height = data.size(1);+    width = data.size(2);+  }++  std::ostringstream channelErrS;+  channelErrS << "The number of channels should be 1 or 3, got: " << channels;++  const std::string& channelErrStr = channelErrS.str();+  const char* channelErr = channelErrStr.c_str();+  TORCH_CHECK(channels == 1 || channels == 3, channelErr);++  // Initialize JPEG structure+  jpeg_create_compress(&cinfo);++  // Set output image information+  cinfo.image_width = width;+  cinfo.image_height = height;+  cinfo.input_components = channels;+  cinfo.in_color_space = channels == 1 ? JCS_GRAYSCALE : JCS_RGB;++  jpeg_set_defaults(&cinfo);+  jpeg_set_quality(&cinfo, quality, TRUE);++  // Save JPEG output to a buffer+  jpeg_mem_dest(&cinfo, &jpegBuf, &jpegSize);++  // Start JPEG compression+  jpeg_start_compress(&cinfo, TRUE);++  auto stride = width * channels;+  auto ptr = input.data_ptr<uint8_t>();++  // Encode JPEG file+  while (cinfo.next_scanline < cinfo.image_height) {+    jpeg_write_scanlines(&cinfo, &ptr, 1);+    ptr += stride;+  }++  jpeg_finish_compress(&cinfo);+  jpeg_destroy_compress(&cinfo);++  torch::TensorOptions options = torch::TensorOptions{torch::kU8};+  auto outTensor = torch::empty({(long)jpegSize}, options);++  // Copy memory from jpeg buffer, since torch cannot get ownership of it via+  // `from_blob`+  auto outPtr = outTensor.data_ptr<uint8_t>();+  std::memcpy(outPtr, jpegBuf, sizeof(uint8_t) * outTensor.numel());

I think that we cannot use a memory buffer that was not created by libjpeg directly: https://github.com/libjpeg-turbo/libjpeg-turbo/blob/f81833aed68ec7d04ecdeb7f4f7566040f24300e/jdatadst.c#L267

andfoy

comment created time in 3 days

PullRequestReviewEvent

push eventandfoy/vision

vfdev

commit sha 1b41525443f8955487e5432743d346fa5c351ddf

Normalize, LinearTransformation are scriptable (#2645) * [WIP] All transforms are now derived from torch.nn.Module - Compose, RandomApply, Normalize can be jit scripted * Fixed flake8 * Updated code and docs - added getattr to Lambda and tests - updated code and docs of Compose - added failing test with append/extend on Composed.transforms * Fixed flake8 * Updated code, tests and docs

view details

Philip Meier

commit sha 6a43a1f825f13b1cee69f954f5ec52ae5f2774ea

limit requests per time in download tests (#2699)

view details

Francisco Massa

commit sha 15848edbc3c5282ced487a62192fbc763d052019

Fix deprecation warning in nonzero (#2705) Replace nonzero by where, now that it works with just a condition

view details

Aditya Oke

commit sha 6e10e3f88158f12b7a304d3c2f803d2bbdde0823

Adds Generalized IOU (#2642) * tries adding genaralized_iou * fixes linting * Adds docs for giou, iou and box area * fixes lint * removes docs to fixup in other PR * linter fix * Cleans comments * Adds tests for box area, iou and giou * typo fix for testCase * fixes typo * fixes box area test * fixes implementation * updates tests to tolerance

view details

Edgar Andrés Margffoy Tuay

commit sha 2a807f73fe036875d5252f249058f64923c6cf13

Merge branch 'master' into write_jpeg_png

view details

push time in 3 days

issue commentspyder-ide/spyder

Spyder Stuck on Launch Console

Thanks for your reply, when you uninstalled Anaconda, did you ensure that all environment variables and files were removed?

taylorpack13

comment created time in 3 days

issue closedspyder-ide/spyder

random error pop up

Description

What steps will reproduce the problem?

<!--- You can use Markdown here --->

If I click the close button, the error message pops up

Traceback

  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 4179, in mouseMoveEvent
    and not self.is_completion_widget_visible()):
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/base.py", line 918, in is_completion_widget_visible
    return self.completion_widget.isVisible()
RuntimeError: wrapped C/C++ object of type CompletionWidget has been deleted
Traceback (most recent call last):
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 653, in _handle_hover
    elif not self.is_completion_widget_visible():
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/base.py", line 918, in is_completion_widget_visible
    return self.completion_widget.isVisible()
RuntimeError: wrapped C/C++ object of type CompletionWidget has been deleted
Traceback (most recent call last):
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 4179, in mouseMoveEvent
    and not self.is_completion_widget_visible()):
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/base.py", line 918, in is_completion_widget_visible
    return self.completion_widget.isVisible()
RuntimeError: wrapped C/C++ object of type CompletionWidget has been deleted
Traceback (most recent call last):
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 4179, in mouseMoveEvent
    and not self.is_completion_widget_visible()):
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/base.py", line 918, in is_completion_widget_visible
    return self.completion_widget.isVisible()RuntimeError: wrapped C/C++ object of type CompletionWidget has been deleted
Traceback (most recent call last):
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 4210, in mousePressEvent
    self.kite_call_to_action.handle_mouse_press(event)
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/kite/widgets/calltoaction.py", line 87, in handle_mouse_press
    self.hide()
RuntimeError: wrapped C/C++ object of type KiteCallToAction has been deleted
Traceback (most recent call last):
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 4179, in mouseMoveEvent
    and not self.is_completion_widget_visible()):  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/base.py", line 918, in is_completion_widget_visible
    return self.completion_widget.isVisible()RuntimeError: wrapped C/C++ object of type CompletionWidget has been deleted
Traceback (most recent call last):
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 653, in _handle_hover
    elif not self.is_completion_widget_visible():
  File "/home/matome/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/base.py", line 918, in is_completion_widget_visible
    return self.completion_widget.isVisible()
RuntimeError: wrapped C/C++ object of type CompletionWidget has been deleted

Versions

  • Spyder version: 4.0.0
  • Python version: 3.7.5
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Linux 5.4.0-42-generic

Dependencies

cloudpickle >=0.5.0          :  0.8.0 (OK)
pygments >=2.0               :  2.3.1 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
nbconvert >=4.0              :  5.4.1 (OK)
sphinx >=0.6.6               :  1.8.5 (OK)
pylint >=0.25                :  2.3.1 (OK)
psutil >=0.3                 :  5.6.1 (OK)
qtawesome >=0.5.7            :  0.5.7 (OK)
qtpy >=1.5.0                 :  1.7.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
zmq >=17                     :  18.0.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
numpydoc >=0.6.0             :  0.8.0 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
qdarkstyle >=2.7             :  2.7 (OK)
atomicwrites >=1.2.0         :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
watchdog                     :  None (OK)
keyring                      :  None (OK)
pexpect >=4.4.0              :  4.6.0 (OK)
pympler                      :  None (OK)
sympy >=0.7.3                :  1.3 (OK)
cython >=0.21                :  0.29.6 (OK)
IPython >=4.0                :  7.4.0 (OK)
matplotlib >=2.0.0           :  3.0.3 (OK)
pandas >=0.13.1              :  0.24.2 (OK)
numpy >=1.7                  :  1.16.2 (OK)
scipy >=0.17.0               :  1.2.1 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.2 (OK)
xdg >=0.26                   :  0.26 (OK)
rtree >=0.8.3                :  0.8.3 (OK)

closed time in 3 days

atom-45

issue commentspyder-ide/spyder

random error pop up

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

atom-45

comment created time in 3 days

issue closedspyder-ide/spyder

conflict with Wing pro 7

Hello everyone, There are conflict with Wing pro 7 when I install Spyder-4.1.4 in my envs. My numpy, pandas and PyQt5 will broken. If I use Wing pro 7 and Spyder-4.1.4 in different envs, it's OK. How can use them in the same envs? Could you help me? Best wishes!

closed time in 3 days

Wusir2018

issue closedspyder-ide/spyder

trying to open void128 type data

Description

What steps will reproduce the problem?

<!--- You can use Markdown here --->

I have a mat who contains void128 type of variable,trying to open it by double click from varible explorer.

Traceback

  File "/home/yaoli/anaconda3/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 482, in createEditor
    if not editor.setup_and_check(value, title=key, readonly=readonly):
  File "/home/yaoli/anaconda3/lib/python3.6/site-packages/spyder/widgets/variableexplorer/arrayeditor.py", line 661, in setup_and_check
    readonly, xlabels, ylabels))
  File "/home/yaoli/anaconda3/lib/python3.6/site-packages/spyder/widgets/variableexplorer/arrayeditor.py", line 540, in __init__
    ylabels=ylabels, readonly=readonly, parent=self)
  File "/home/yaoli/anaconda3/lib/python3.6/site-packages/spyder/widgets/variableexplorer/arrayeditor.py", line 154, in __init__
    self.vmin = np.nanmin(self.color_func(data))
  File "<__array_function__ internals>", line 6, in nanmin
  File "/home/yaoli/anaconda3/lib/python3.6/site-packages/numpy/lib/nanfunctions.py", line 334, in nanmin
    res = _copyto(res, np.nan, mask)
  File "/home/yaoli/anaconda3/lib/python3.6/site-packages/numpy/lib/nanfunctions.py", line 139, in _copyto
    a = a.dtype.type(val)
AttributeError: 'float' object has no attribute 'dtype'

Versions

  • Spyder version: 3.3.6
  • Python version: 3.6.9
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Linux 4.15.0-107-generic

Dependencies

pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.4.2 (OK)
sphinx >=0.6.6    :  2.2.1 (OK)
rope >=0.9.4      :  0.14.0 (OK)
jedi >=0.9.0      :  0.15.1 (OK)
psutil >=0.3      :  5.6.5 (OK)
nbconvert >=4.0   :  5.6.1 (OK)
pandas >=0.13.1   :  0.25.3 (OK)
numpy >=1.7       :  1.17.3 (OK)
sympy >=0.7.3     :  1.4 (OK)
cython >=0.21     :  0.29.13 (OK)
qtconsole >=4.2.0 :  4.5.5 (OK)
IPython >=4.0     :  7.9.0 (OK)
matplotlib >=2.0.0:  3.1.1 (OK)
pylint >=0.25     :  2.4.4 (OK)

closed time in 3 days

YaoLIII

issue commentspyder-ide/spyder

trying to open void128 type data

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

YaoLIII

comment created time in 3 days

issue closedspyder-ide/spyder

Drag drop a pickle file to variable explorer

Description

What steps will reproduce the problem?

<!--- You can use Markdown here --->

Dragging and dropping a previously saved pickle file to variable explorer throws this error. I don't know even if spyder allows us to do like drag and drop files to variable explorer as in matlab.

Traceback

  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder\plugins\variableexplorer\widgets\namespacebrowser.py", line 472, in import_data
    error_message = self.shellwidget.load_data(self.filename, ext)
  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder\plugins\ipythonconsole\widgets\namespacebrowser.py", line 136, in load_data
    filename, ext, overwrite=overwrite)
  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder_kernels\comms\commbase.py", line 538, in __call__
    call_dict, call_data, self._comm_id)
  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 132, in _get_call_return_value
    call_dict, call_data, comm_id)
  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder_kernels\comms\commbase.py", line 420, in _get_call_return_value
    return self._sync_error(reply['value'])
  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder_kernels\comms\commbase.py", line 476, in _sync_error
    error_wrapper.raise_error()
  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder_kernels\comms\commbase.py", line 90, in raise_error
    raise self.etype(self)
Exception in comms call load_data:

  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder_kernels\comms\commbase.py", line 342, in _handle_remote_call
    buffer['call_kwargs'])

  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder_kernels\comms\commbase.py", line 353, in _remote_callback
    *call_args, **call_kwargs)

  File "C:\Anaconda3\envs\tf1.13\lib\site-packages\spyder_kernels\console\kernel.py", line 269, in load_data
    for key in list(data.keys()):

AttributeError: 'list' object has no attribute 'keys'

Versions

  • Spyder version: 4.1.3
  • Python version: 3.7.7
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies


# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.5.0 (OK)
diff_match_patch >=20181111    :  20181111 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.16.1 (OK)
jedi =0.15.2                   :  0.15.2 (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  1.1.0 (OK)
paramiko >=2.4.0               :  2.7.1 (OK)
parso =0.5.2                   :  0.5.2 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.0 (OK)
pygments >=2.0                 :  2.6.1 (OK)
pylint >=0.25                  :  2.4.4 (OK)
pyls >=0.31.9;<0.32.0          :  0.31.10 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  0.7.2 (OK)
qtconsole >=4.6.0              :  4.7.5 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.4 (OK)
sphinx >=0.6.6                 :  3.1.2 (OK)
spyder_kernels >=1.9.1;<1.10.0 :  1.9.1 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  19.0.1 (OK)

# Optional:
cython >=0.21                  :  0.29.21 (OK)
matplotlib >=2.0.0             :  3.2.2 (OK)
numpy >=1.7                    :  1.18.5 (OK)
pandas >=0.13.1                :  1.0.5 (OK)
scipy >=0.17.0                 :  1.5.0 (OK)
sympy >=0.7.3                  :  None (OK)

closed time in 3 days

colt18

issue commentspyder-ide/spyder

Drag drop a pickle file to variable explorer

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

colt18

comment created time in 3 days

issue closedspyder-ide/spyder

getcontext().prec causes Spyder to freeze up

Description

What steps will reproduce the problem?

<!--- You can use Markdown here --->

from decimal import * getcontext().prec = 1 b = Decimal(0.1) + Decimal(0.2)

Versions

  • Spyder version: 4.0.1
  • Python version: 3.7.6
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies

atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.12.0 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.2 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.7 (OK)
pygments >=2.0               :  2.5.2 (OK)
pylint >=0.25                :  2.4.4 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.7 (OK)
zmq >=17                     :  18.1.1 (OK)
qdarkstyle >=2.7             :  2.8 (OK)
qtawesome >=0.5.7            :  0.6.1 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.9.3 (OK)
sphinx >=0.6.6               :  2.4.0 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  0.29.15 (OK)
matplotlib >=2.0.0           :  3.1.3 (OK)
numpy >=1.7                  :  1.18.1 (OK)
pandas >=0.13.1              :  1.0.1 (OK)
scipy >=0.17.0               :  1.4.1 (OK)
sympy >=0.7.3                :  1.5.1 (OK)

closed time in 3 days

bjgreene123

issue commentspyder-ide/spyder

getcontext().prec causes Spyder to freeze up

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

bjgreene123

comment created time in 3 days

issue closedspyder-ide/spyder

/opt/OpenVSP/python

Description

What steps will reproduce the problem?

What is the expected output? What do you see instead?

Please provide any additional information below

File "/usr/lib/python2.7/dist-packages/spyder/widgets/ipythonconsole/client.py", line 561, in show_time elapsed_time = time() - self.t0 TypeError: unsupported operand type(s) for -: 'float' and 'NoneType' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/spyder/widgets/ipythonconsole/client.py", line 561, in show_time elapsed_time = time() - self.t0 TypeError: unsupported operand type(s) for -: 'float' and 'NoneType' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/spyder/widgets/ipythonconsole/client.py", line 561, in show_time elapsed_time = time() - self.t0 TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'WARNING:traitlets:kernel died: 3.00031399727

WARNING:traitlets:kernel died: 18.0166251659

Version and main components

  • Spyder Version: 3.2.6
  • Python Version: 2.7.17
  • Qt Versions: 5.9.5, PyQt5 5.10.1 on Linux

Dependencies

pyflakes >=0.5.0  :  1.6.0 (OK)
pycodestyle >=2.3 :  2.6.0 (OK)
pygments >=2.0    :  2.5.2 (OK)
pandas >=0.13.1   :  None (NOK)
numpy >=1.7       :  1.16.6 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
rope >=0.9.4      :  0.10.5 (OK)
jedi >=0.9.0      :  0.11.1 (OK)
psutil >=0.3      :  5.4.2 (OK)
nbconvert >=4.0   :  5.3.1 (OK)
sympy >=0.7.3     :  None (NOK)
cython >=0.21     :  None (NOK)
qtconsole >=4.2.0 :  4.3.1 (OK)
IPython >=4.0;<6.0:  5.5.0 (OK)
pylint >=0.25     :  1.8.3 (OK)

closed time in 3 days

saivinaysandapeta

issue commentspyder-ide/spyder

/opt/OpenVSP/python

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

saivinaysandapeta

comment created time in 3 days

issue closedspyder-ide/spyder

APP CRASHED....

Description

What steps will reproduce the problem?

<!--- You can use Markdown here --->

The App crashes after using a couple of days or a week then gets started only after re-installing anaconda for multiple times

Traceback

----------------------------------------
WARNING:spyder.widgets.github.backend:Failed to send bug report on Github. response={'code': 401, 'json': {'message': 'Bad credentials', 'documentation_url': 'https://developer.github.com/v3'}}

Versions

  • Spyder version: 3.3.6
  • Python version: 3.7.3
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies

pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.4.2 (OK)
sphinx >=0.6.6    :  2.1.2 (OK)
rope >=0.9.4      :  0.14.0 (OK)
jedi >=0.9.0      :  0.13.3 (OK)
nbconvert >=4.0   :  5.5.0 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
numpy >=1.7       :  1.16.4 (OK)
sympy >=0.7.3     :  1.4 (OK)
cython >=0.21     :  0.29.12 (OK)
qtconsole >=4.2.0 :  4.5.1 (OK)
IPython >=4.0     :  7.6.1 (OK)
matplotlib >=2.0.0:  3.1.0 (OK)
pylint >=0.25     :  2.3.1 (OK)

closed time in 3 days

Delta-alt

issue commentspyder-ide/spyder

APP CRASHED....

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

Delta-alt

comment created time in 3 days

issue closedspyder-ide/spyder

editor in permanet loop

Description

What steps will reproduce the problem?

<!--- You can use Markdown here --->

shift+cursor in order to select a set of characters. During the selection the spyder going in loop, I have to kill the process in order to restart the work

Versions

  • Spyder version: 4.0.1
  • Python version: 3.7.0
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Darwin 19.4.0

Dependencies

applaunchservices >=0.1.7    :  0.2.1 (OK)
atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.2.2 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.11.1 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.2 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.7 (OK)
pygments >=2.0               :  2.5.2 (OK)
pylint >=0.25                :  2.4.4 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.2 (OK)
zmq >=17                     :  18.1.0 (OK)
qdarkstyle >=2.7             :  2.8 (OK)
qtawesome >=0.5.7            :  0.6.0 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.9.3 (OK)
sphinx >=0.6.6               :  2.3.1 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  0.29.14 (OK)
matplotlib >=2.0.0           :  2.2.4 (OK)
numpy >=1.7                  :  1.18.1 (OK)
pandas >=0.13.1              :  1.0.0 (OK)
scipy >=0.17.0               :  1.3.1 (OK)
sympy >=0.7.3                :  1.5.1 (OK)

closed time in 3 days

pmadotto

issue commentspyder-ide/spyder

editor in permanet loop

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

pmadotto

comment created time in 3 days

issue closedspyder-ide/spyder

Please on Anaconda Prompt, run there

Please on Anaconda Prompt, run there

conda install -f spyder-kernels=0.3

and try again.

Originally posted by @ccordoba12 in https://github.com/spyder-ide/spyder/issues/8581#issuecomment-454413857

closed time in 3 days

AnanyBahekar28

issue commentspyder-ide/spyder

Please on Anaconda Prompt, run there

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

AnanyBahekar28

comment created time in 3 days

issue closedspyder-ide/spyder

installing new modules

Description

What steps will reproduce the problem?

<!--- You can use Markdown here --->

hello sir/mam ,i want to use the module "seaborn" where it was installed in the anaconda but in spyder it was not working. that there was no documentation about it .so, i want to know how to get that module into spyder to use it

Versions

  • Spyder version: 4.1.2
  • Python version: 3.7.4
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies


# Mandatory:
atomicwrites >=1.2.0           :  1.3.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.3.0 (OK)
diff_match_patch >=20181111    :  20181111 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.13.0 (OK)
jedi =0.15.2                   :  0.15.2 (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  0.9.2 (OK)
paramiko >=2.4.0               :  2.7.1 (OK)
parso =0.5.2                   :  0.5.2 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.0 (OK)
pygments >=2.0                 :  2.6.1 (OK)
pylint >=0.25                  :  2.4.4 (OK)
pyls >=0.31.9;<0.32.0          :  0.31.10 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  0.7.0 (OK)
qtconsole >=4.6.0              :  4.7.3 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.3 (OK)
sphinx >=0.6.6                 :  2.4.4 (OK)
spyder_kernels >=1.9.0;<1.10.0 :  1.9.0 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  18.1.1 (OK)

# Optional:
cython >=0.21                  :  0.29.15 (OK)
matplotlib >=2.0.0             :  3.1.3 (OK)
numpy >=1.7                    :  1.18.1 (OK)
pandas >=0.13.1                :  1.0.3 (OK)
scipy >=0.17.0                 :  1.4.1 (OK)
sympy >=0.7.3                  :  1.5.1 (OK)

closed time in 3 days

Yuvatej

issue commentspyder-ide/spyder

installing new modules

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

Yuvatej

comment created time in 3 days

issue closedspyder-ide/spyder

Spyder 4.1.2 wont get past splash screen Windows 10

<!--- PLEASE READ: When submitting here, please ensure you've completed the following checklist and checked the boxes to confirm. Issue reports without it may be closed. Thanks! --->

Issue Report Checklist

  • [x ] Searched the issues page for similar reports
  • [x ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • [x ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • [ ] Could not reproduce inside jupyter qtconsole (if console-related)
  • [ x] Tried basic troubleshooting (if a bug/error)
    • [ x] Restarted Spyder
    • [ x] Reset preferences with spyder --reset
    • [x ] Reinstalled the latest version of Anaconda
    • [x ] Tried the other applicable steps from the Troubleshooting Guide
  • [ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

The other day I was unable to start Spyder 4.1.2 after not having used Anaconda in a while and updating all packages. Running spyder in my environment loaded the splash screen, but it was replaced with a dialog box that says, "Spyder was unable to load the Spyder 3 icon theme. That's why it's going to fallback to the theme used in Spyder 2.

For that, please close this window and start Spyder again."

So I did just that. This time the splash screen came up (says Spyder 4)and got to where it says "Setting up Main Window." Here it hangs and never gets past. The only way to close this is to force quit it.

I followed another Issue on here where someone said they had luck with uninstalling with anaconda-clean, uninstalling, removing registry entries, and deleting any folders that remained. I tried this and reinstalled. The first thing I did here was update conda with conda update conda, followed by conda update --all, followed by creating a new environment where the first thing installed was spyder.

Running spyder this time did the same thing starting with the icon pack issue.

What steps reproduce the problem?

  1. Create a new environment
  2. Update standard packages
  3. Install spyder
  4. Try to open

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)

<!--- Copy from error dialog or View > Panes > Internal Console --->


PASTE TRACEBACK HERE

Versions

<!--- You can get this information from Help > About Spyder... or (if Spyder won't launch) the "conda list" command from the Anaconda Prompt/Terminal/command line. --->

  • Spyder version: 4.1.2
  • Python version: 3.8.2
  • Qt version: 5.9.7
  • PyQt version: 5.9.2
  • Operating System name/version: Windows 10 10.0.18362

Dependencies

<!--- Please go to the menu entry Help > Dependencies, press the Copy to clipboard button and paste below --->

[package.txt](https://github.com/spyder-ide/spyder/files/4596003/package.txt)

PASTE DEPENDENCIES HERE

closed time in 3 days

jaray200

issue commentspyder-ide/spyder

Spyder 4.1.2 wont get past splash screen Windows 10

I'm closing this issue because there wasn't a follow-up response after more than a week. If your error persists please re-open this issue and reply with the requested information. Thanks for reporting!

jaray200

comment created time in 3 days

issue commentspyder-ide/spyder

Spyder Stuck on Launch Console

Hi @taylorpack13, thanks for reaching out, have you tried to execute Spyder outside Anaconda Navigator (via the Anaconda prompt)? Also, have you tried reinstalling Anaconda?

taylorpack13

comment created time in 3 days

issue commentspyder-ide/spyder

Variable explorer show none for last level in row multiindex

Hi @eduardosuela, thanks for reporting this issue, does this screenshot reproduces your problem?

imagen

@dalthviz, do you know if this is expected?

eduardosuela

comment created time in 3 days

pull request commentspyder-ide/spyder

PR: Enable LSP autoformatting support

Complementary PR in pyls: https://github.com/palantir/python-language-server/pull/866

andfoy

comment created time in 3 days

create barnchandfoy/python-language-server

branch : lock_update_text

created branch time in 3 days

push eventandfoy/spyder

Edgar Andrés Margffoy Tuay

commit sha 71553eaf06449844fb28a4cc0102fe70a709bec5

Update Binder dependencies

view details

push time in 4 days

push eventandfoy/spyder

Edgar Andrés Margffoy Tuay

commit sha 1c6875a56745c5b7e4ae6e7dd6edff9b5bc9dff7

Remove yapf and autopep8 from conda.txt

view details

push time in 4 days

push eventandfoy/spyder

Edgar Andrés Margffoy Tuay

commit sha b728800201c5a3c6eae6bc0807a7d567aac8ddd3

Add index to params

view details

push time in 4 days

push eventandfoy/spyder

Edgar Andrés Margffoy Tuay

commit sha 64255445811afa30b7621efc21514d987cdb75d1

Minor error correction

view details

Edgar Andrés Margffoy Tuay

commit sha 1dc21b533d9780eef79e7982709fa04512b8dc28

Merge branch 'lsp_document_formatting' of github.com:andfoy/spyder into lsp_document_formatting Merge!

view details

push time in 4 days

push eventandfoy/spyder

Carlos Cordoba

commit sha 67f29cca217de10d03aa57e347e27696494ee388

Editor: Update decorations only in the visible portion of the screen

view details

Carlos Cordoba

commit sha 8c6c96b3750ed62995668f849a1fb4e3e3320782

Editor: Update decorations when the scrollbar position changes

view details

Carlos Cordoba

commit sha f629c54e26224dadc2a80dd2b42b32928147e6c7

Editor: Set linting results in the line number area in a thread That helps to improve performance when there are too many of those results.

view details

Carlos Cordoba

commit sha 73c53d542989b3f2e77ef25052e5873910347347

Editor: Add a method to get the first and last visible block numbers

view details

Carlos Cordoba

commit sha c8eb340fb8d27c88daee6c0e98435cbed1a18705

Editor: Underline linting errors only on the visible portion of the screen

view details

Carlos Cordoba

commit sha 98b75e21c26fd4d94f049a335d94e7c30543d932

Editor: Avoid updating decorations multiple times in a very short interval

view details

Quentin Peter

commit sha 9e23342fd3788084a35c47a9ee1ef8c5e6bd3403

Separate cmd input from general io

view details

Quentin Peter

commit sha 6ee1f24700de075b9c9fae0ceab1b06a7da1877f

git subrepo clone --branch=no_exclamation --force https://github.com/impact27/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "a17b93346" upstream: origin: "https://github.com/impact27/spyder-kernels.git" branch: "no_exclamation" commit: "a17b93346" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a04d8c2"

view details

Quentin Peter

commit sha 911af921ace6b48624bbebc37429ad44b3d6d2db

Fix history exclamation

view details

Quentin Peter

commit sha e648d5694910277a63dd9a52565090aff9abd8f2

git subrepo clone --branch=no_exclamation --force https://github.com/impact27/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "9a3a5235e" upstream: origin: "https://github.com/impact27/spyder-kernels.git" branch: "no_exclamation" commit: "9a3a5235e" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a04d8c2"

view details

Quentin Peter

commit sha 60904535cf500ef7743f7a0760789e7d49f48eec

Add local namespace test

view details

Quentin Peter

commit sha 3221c6a500a2c24d234705f2b91f1de8797bd5dc

fix test

view details

Quentin Peter

commit sha a3f7ce8c9886b913207ebd1b2f763f4e5606b0de

Apply review comments

view details

Quentin Peter

commit sha 3f45d1ca14fcb0b97f3ac1a253519f64445bbcca

Merge branch '4.x' into no_exclamation

view details

Quentin Peter

commit sha 2dbfde734edcc07a958f336f27cc61c160d7c898

move import

view details

Quentin Peter

commit sha 03408adecfe9b9c60d7d2f47a4d7bcebcafaaef9

Don't save single pdb commands

view details

Quentin Peter

commit sha 701492b487903ed7a801eee8f51cdbc7ee4eb765

Merge branch '4.x' into no_exclamation

view details

Quentin Peter

commit sha 68f57ef414b0871ae1be92569b733c44f90196b3

Fix transient NameError Traceback (most recent call last): File "/home/runner/work/spyder/spyder/spyder/plugins/completion/languageserver/plugin.py", line 400, in <lambda> timer.timeout.connect(lambda: self.check_heartbeat(language)) NameError: free variable 'self' referenced before assignment in enclosing scope

view details

Quentin Peter

commit sha 6d3b7b23ada15aa9849326351cffb63c05dff540

fix NameError Traceback (most recent call last): 100 File "/home/runner/work/spyder/spyder/spyder/plugins/completion/languageserver/plugin.py", line 400, in <lambda> 101 timer.timeout.connect(lambda ls=self: ls.check_heartbeat(language)) 102 NameError: free variable 'language' referenced before assignment in enclosing scope

view details

Quentin Peter

commit sha 6a2365785bb65e210f4ff53c378f906710b4ad96

Merge remote-tracking branch 'upstream/4.x' into no_exclamation

view details

push time in 4 days

push eventandfoy/spyder

Edgar Andrés Margffoy Tuay

commit sha 595b927564ad59aaba6c069989a926b3959d0a6f

Add autoformat on save option

view details

push time in 4 days

push eventandfoy/spyder

Edgar Andrés Margffoy Tuay

commit sha 8d52999cecc14ee41bb58b8d84748250bbee7806

Add waiting spinner and set editor in read-only mode

view details

push time in 4 days

pull request commentpytorch/vision

PR: Add PyTorch FFmpeg to wheel and conda distributions

The error here is that some tests are trying to use x264 and x264rgb, which are not available on our LGPL FFmpeg distribution. I tried to switch some of them to h264, but it fails when x264rgb is required

andfoy

comment created time in 4 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha a2cfab7f92287eabd5773d09ecc548253545f376

Try with 8.0.1

view details

push time in 4 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 1a17871162a91236c61a6cb3125d4c33dd472405

Fix string formatting issue

view details

Edgar Andrés Margffoy Tuay

commit sha dadc9fd27195d320d434268ca0e60bd96d6b2413

Fix pip pinning

view details

Edgar Andrés Margffoy Tuay

commit sha 05aad31f99a78afc249ebd394ccf8090b2f17a3e

Merge branch 'distribute_ffmpeg' of github.com:andfoy/vision into distribute_ffmpeg Merge!

view details

push time in 4 days

push eventandfoy/vision

vfdev

commit sha 1b41525443f8955487e5432743d346fa5c351ddf

Normalize, LinearTransformation are scriptable (#2645) * [WIP] All transforms are now derived from torch.nn.Module - Compose, RandomApply, Normalize can be jit scripted * Fixed flake8 * Updated code and docs - added getattr to Lambda and tests - updated code and docs of Compose - added failing test with append/extend on Composed.transforms * Fixed flake8 * Updated code, tests and docs

view details

Edgar Andrés Margffoy Tuay

commit sha d3943637e994df9cda0619c894cfe27e5d4fa584

Merge branch 'master' into distribute_ffmpeg

view details

push time in 4 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 3a1e9d2b8d9e71009d3497590d5cbfd75dc05e6b

Pin av version to 8.0.0

view details

push time in 4 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 636804d026c4b6f62d8c07227f4d0840e28ca71d

Add error tests

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 1e9ada12ebf2d1a275e47a8095e1c254012bfc30

Install correct version on Mac

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 60ff1ca6a8e0cdc562c7163e4fb1d9cd712c94f4

Use FFmpeg 4.2

view details

push time in 5 days

push eventandfoy/vision

Francisco Massa

commit sha 05ba4539740afefb118b93f10e6271ee98c5f78d

Revert "add dummy workflow to test GitHub Actions CI (#2697)" (#2698) This reverts commit cd4761f4a256c2efad6ec0a1c9b2681899725fa4.

view details

Philip Meier

commit sha be0b6d96b74630b7bce55c9c0770bde990e937df

run download tests on a daily schedule (#2675) * run download tests on a daily schedule * add blank line * add issue template as workflow trigger * try broaden workflow triggers * run scheduled test after nightlies are published * try remove schedule as workflow trigger * restore workflow triggers * cleanup * Revert "remove dummy workflow" This reverts commit d094e4bf2c3da2392bf1298450b97d9d63a15bfc. * cleanup

view details

Philip Meier

commit sha 8dfcff745a5bd2d4886716bf0deff8dcc8e75fed

partially enable type checking for .models (#2668) * partially enable mypy for .models * fix existing errors * ignore error instead of using Union

view details

Edgar Andrés Margffoy Tuay

commit sha ffbc130ab7d2108e9a455d154860090d2cc66d14

Merge branch 'master' into distribute_ffmpeg

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 1ee8b5e3f6795b41c16b0999a7a286a98d5d057a

Use read_jpeg instead of PIL

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 889758a5b89bf74f80283de8e5a15673ec39a03f

Remove extra PIL call

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 42eeba92e9929c8db4c853dc405a3207143d8bad

Use pre-saved PIL output

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 99bd12c2c3935621a1b0437b078436f76df783df

Remove test results

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 85f6ce63e46affdab05882cde8c232ec44e3c87f

Use assertEquals by assertEqual

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 575dd5bf172b0178bb6382cba203616ee934e7f0

Minor error correction

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha d3bab30636f1fb98e68dad1d4c8dffbf9f79b6a8

Set quality to 75 by default and add write jpeg test

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 4c33a76d51ba4b75770fb92c502e62ea17a83262

Add JPEG encoding test

view details

Edgar Andrés Margffoy Tuay

commit sha 2b781409332207195236392a2263170af427fb2a

Merge branch 'write_jpeg_png' of github.com:andfoy/vision into write_jpeg_png Merge!

view details

push time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha c36cb6d28333d3a3ce89974c062c807ce3e0a1ff

Update image IO ops to reflect CHW tensor layout return (#2695)

view details

Philip Meier

commit sha cd4761f4a256c2efad6ec0a1c9b2681899725fa4

add dummy workflow to test GitHub Actions CI (#2697)

view details

vfdev

commit sha c163fc42d1e57936d65591be0a30f227d6950c73

Update functional.py (#2685)

view details

vfdev

commit sha b28d480f1a58fa71f7882bac3a13f4ad35df650b

Refactor transforms input checks (#2694) * Refactor transforms input checks - added _setup_size to check and setup size argument * More refactor

view details

Francisco Massa

commit sha 05ba4539740afefb118b93f10e6271ee98c5f78d

Revert "add dummy workflow to test GitHub Actions CI (#2697)" (#2698) This reverts commit cd4761f4a256c2efad6ec0a1c9b2681899725fa4.

view details

Philip Meier

commit sha be0b6d96b74630b7bce55c9c0770bde990e937df

run download tests on a daily schedule (#2675) * run download tests on a daily schedule * add blank line * add issue template as workflow trigger * try broaden workflow triggers * run scheduled test after nightlies are published * try remove schedule as workflow trigger * restore workflow triggers * cleanup * Revert "remove dummy workflow" This reverts commit d094e4bf2c3da2392bf1298450b97d9d63a15bfc. * cleanup

view details

Philip Meier

commit sha 8dfcff745a5bd2d4886716bf0deff8dcc8e75fed

partially enable type checking for .models (#2668) * partially enable mypy for .models * fix existing errors * ignore error instead of using Union

view details

Edgar Andrés Margffoy Tuay

commit sha d1dfbf7c53c5775c48e6a59d7a22bc07b97b8019

Merge branch 'master' into write_jpeg_png

view details

push time in 5 days

pull request commentpytorch/vision

PR: Add PyTorch FFmpeg to wheel and conda distributions

I think 4.2 packages are not ready in builder

andfoy

comment created time in 5 days

delete branch andfoy/vision

delete branch : update_image_docstrings

delete time in 5 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 9083d6ef90ba27c9a77032987dd67616e6572b9e

Use C10_EXPORT

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha cd97d51c898e78e299d6469f4e8db998bbe9e0de

Add JPEG and PNG include dirs

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha fe3da2a8da8232a0ad1462b6763d3e2dd110e09d

Also include stdio

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 86bb5a0548ef087947a7879b0416509f7749526d

Ignore clang-format on cstddef

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 8e133bd574e7d5e8fe658866f514e15edcc84efc

Include cstddef

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 79482424970b6c9405ffbe0015a16de957975e55

Fix style issues

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 958e76c9ace6d0c4d7bc8c159abc6fd96f4b3a4b

Use unsigned long directly

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 04e6686e0ca0caf048dd28ff6f5d3e172974a361

Add Python frontend calls

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 81e87f6a6d68586251d802d822734f08728dd92a

Include header?

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha eabbf4b0e7a04e808f5eb405bb8659850233ca9f

Include header?

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 09a9d513cd6c35bead2d044653df273f8f213d83

Include string

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 9687546efbd1d2f0c7d968426a146a301171faa2

Add common definitions

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha c58178695ff02a9d15af439deedb7049b4244530

Update common header

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 2f5649e8bbf395a7e1d67747841454b4cad2a7bc

Reverse header inclusion

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha cd380fc5370e06a1533dddbafc6d97c3ff136c72

Include header only once

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha f615c3b8ef70ac539a0b9f33bd8b5c0b33446515

Minor updates to error handling in read

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 7abf06360a4aa1152264f324a4c70217ecf5b2fa

Use jpegcommon.h for read_jpeg

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 1d5b1183652251a8a7139fd0c77e73c7863ee937

Use std::string

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 1eacf0eb1c0d894852ee09218cec7fc3129260c9

Use int64_t instead of int

view details

push time in 6 days

push eventandfoy/vision

Edgar Andrés Margffoy Tuay

commit sha 31f82eabfc7c80e2706744cc8a522614b0fcd1ac

Fix styling issues

view details

push time in 6 days

PR opened pytorch/vision

Add encoding and writing JPEG/PNG ops

This PR introduces new encoding and writing operators to the torchvision image frontend, as follows:

  • encode_jpeg: Takes a CHW tensor as input and produces a byte buffer containing the JPEG file in tensor form.
  • write_jpeg: Takes a CHW tensor and a filename and writes the image into a JPEG file in disk.
  • encode_png: Takes a CHW tensor as input and produces a byte buffer containing the PNG file in tensor form.
  • write_png: Takes a CHW tensor and a filename and writes the image into a PNG file in disk.

Fixes #2691

+181 -3

0 comment

7 changed files

pr created time in 6 days

create barnchandfoy/vision

branch : write_jpeg_png

created branch time in 6 days

delete branch andfoy/builder

delete branch : build_ffmpeg_4.2

delete time in 6 days

more