Giter Site home page Giter Site logo

why .h5? about ssl4mis HOT 5 CLOSED

hilab-git avatar hilab-git commented on August 23, 2024
why .h5?

from ssl4mis.

Comments (5)

Luoxd1996 avatar Luoxd1996 commented on August 23, 2024

Hi, seuxiaoge;
just because my personal habit, which saved the processed data as .h5 file. You can read it as NumPy array and plot it by matplotlib or save it as NIfTI data and show it by ITK SNAP.
Best wishes;
xdluo.

from ssl4mis.

seuxiaoge avatar seuxiaoge commented on August 23, 2024

Traceback (most recent call last):
File "E:/code/SSL4MIS-master/code/train_unet_2D_adversarial_network.py", line 283, in
train(args, snapshot_path)
File "E:/code/SSL4MIS-master/code/train_unet_2D_adversarial_network.py", line 138, in train
for i_batch, sampled_batch in enumerate(trainloader):
File "D:\Anaconda3\envs\semi\lib\site-packages\torch\utils\data\dataloader.py", line 193, in iter
return _DataLoaderIter(self)
File "D:\Anaconda3\envs\semi\lib\site-packages\torch\utils\data\dataloader.py", line 469, in init
w.start()
File "D:\Anaconda3\envs\semi\lib\multiprocessing\process.py", line 105, in start
self._popen = self._Popen(self)
File "D:\Anaconda3\envs\semi\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\Anaconda3\envs\semi\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "D:\Anaconda3\envs\semi\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)
File "D:\Anaconda3\envs\semi\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'train..worker_init_fn'

from ssl4mis.

seuxiaoge avatar seuxiaoge commented on August 23, 2024

what‘s this?

from ssl4mis.

Luoxd1996 avatar Luoxd1996 commented on August 23, 2024

I don't know, please make sure your relevant-requirements are right firstly. And then, debug your code carefully. By the way, this repo has been tested many times on Ubuntu20.04, there aren't any bug.

from ssl4mis.

buloseshi avatar buloseshi commented on August 23, 2024

hello, why is the data in .h5 format?How do I visualize it?
Hi, do you know how to convert a normal data set to h5 format?

from ssl4mis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.