Comments (12)
Yes, but I'm not using conda
and I'm getting PyTorch from pip
. Works like a charm :)
from mne-icalabel.
On windows, I grab the installer 64 bits here: https://www.python.org/downloads/release/python-3912/ (or a different version), install it for all users (I don't like installing in the user directories), and add the python directories to the system path (through the installer).
Then, since I'm using Spyder as IDE, I usually install it in the base environment with py -m pip install spyder
. I create a virtual env for whatever project I'm working on with py -m venv name
, and activate it with name/Scripts/activate.bat
.
Then, I install the dependencies I need, e.g.:
py -m pip install --upgrade pip setuptools wheel
py -m pip install spyder-kernels matplotlib pyqt5
py -m pip install numpy scipy mne torch
I'm doing very similarly on Linux or macOS where I install python via the package manage or homebrew and repeat the other steps.
The beauty of python, you have 100 different ways of setting it up.. and messing it up! Someone recently shared this nice illustration for macOS:
from mne-icalabel.
I haven't used a Windows computer in over 5-10(?) years now, so unfortunately I cannot help :p
from mne-icalabel.
Yes, same … But I suppose I should get one specifically for this kind of stuff
from mne-icalabel.
Hello, I report that my windows machine can run mne-icalabel on micromamba environment.
The solution is simply to add a pytorch channel.
micromamba create -n hoge python=3.10 mne=1.3 mne-icalabel=0.4 -c conda-forge -c pytorch
Additionally, the installation document (Installation via Cond) includes wrong information.
This command does not install mne-icalabel on windows.
I think you had better update the documentation.
This project is very great for me. Thanks to all contributors.
from mne-icalabel.
Hello, thanks for the report. I will try to fix the documentation for conda.
from mne-icalabel.
@hoechenberger @mscheltienne I opened a pull request that adds support for ONNX on top of PyTorch. I have not tested it personally on windows (outside the GitHub unit-tests), but there is a conda-forge link to the onnxruntime
library. We can add additional functionality to choose which underlying library to use when installing mne-icalable if installing PyTorch is a problem.
from mne-icalabel.
How do you install Python?
Edit: and NumPy :)
from mne-icalabel.
The comic is outdated, macOS doesn't ship with system Python anymore :)
from mne-icalabel.
I'm still running 11.6 Big Sur, too scared to update :)
Glad to know that they finally got rid of this 2.7 default version!
from mne-icalabel.
@hoechenberger I'm not using a windows machine, but if you want to try installing PyTorch on your own and using the source code from git directly, the PyTorch page describes how to install it on windows: https://pytorch.org/get-started/locally/.
from mne-icalabel.
cc @larsoner, we should try that for our Windows standalone MNE installers
from mne-icalabel.
Related Issues (20)
- [DOC] License link in documentation 404's HOT 1
- [GUI] Additional PyQt5 dependency? HOT 2
- [GUI] Missing or non-expandable ICA properties HOT 1
- [DOC] Clarify the types of data to be used HOT 2
- [JOSS] Nitpicks on the paper HOT 1
- No module named 'numpy.typing' HOT 2
- mne_icalabel ImportError HOT 4
- Example render for 0.4 stable website HOT 4
- Possibly want to freeze GH actions at Ubuntu 20.04? HOT 1
- ValueError: need at least one array to concatenate HOT 6
- ONNX/Tensorflow Port HOT 3
- "arrays used as indices must be of integer (or boolean) type" HOT 14
- Set black to max_chars=88 per line
- Enhance Labeling GUI with MNE-QT Backend HOT 1
- Add utility function for porting from MNE-Python ICA labels/labels_score data structure to internals HOT 3
- Notes on JOSS paper HOT 3
- Comments on the docsite HOT 6
- Release v0.3 HOT 12
- Improve test coverage HOT 5
- .pt not included in v0.3 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mne-icalabel.