KatherLab / swarm-learning-hpe

Experimental repo for Odelia project based on HPE platform. This repo contains multiple models for histopathology and radiology training.
MIT License
12 stars 1 forks source link

tensor not writable #14

Open Ultimate-Storm opened 1 year ago

Ultimate-Storm commented 1 year ago

/opt/conda/lib/python3.9/site-packages/swarmlearning/pyt.py:185: UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at /opt/conda/conda-bld/pytorch_1670525551200/work/torch/csrc/utils/tensor_numpy.cpp:199.) tempDict[k] = torch.Tensor(inDict[k])