haoxizhong / pytorch-worker Goto Github PK
View Code? Open in Web Editor NEWA framework for training, evaluating and testing models in pytorch.
License: MIT License
A framework for training, evaluating and testing models in pytorch.
License: MIT License
06/18/2020 16:52:29 - INFO - tools.train_tool - Training start....
Traceback (most recent call last):
File "D:/workspace/CAIL2020/sfks/baseline/train.py", line 59, in
train(parameters, config, gpu_list, do_test)
File "D:\workspace\CAIL2020\sfks\baseline\tools\train_tool.py", line 91, in train
for step, data in enumerate(dataset):
File "D:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\data\dataloader.py", line 279, in iter
return _MultiProcessingDataLoaderIter(self)
File "D:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\data\dataloader.py", line 719, in init
w.start()
File "D:\ProgramData\Anaconda3\envs\pytorch\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "D:\ProgramData\Anaconda3\envs\pytorch\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\ProgramData\Anaconda3\envs\pytorch\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "D:\ProgramData\Anaconda3\envs\pytorch\lib\multiprocessing\popen_spawn_win32.py", line 89, in init
reduction.dump(process_obj, to_child)
File "D:\ProgramData\Anaconda3\envs\pytorch\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'init_formatter..train_collate_fn'
请问大佬们运行train时有没有遇到这个问题?如何解决呀?
I think the framework deserves a cooler name !!!
BasicBert.config中
train_data_path = /data/disk5/private/zhx/pytorcher/data/nlp
bert_path = /data/disk5/private/zhx/bert/chinese
等参数应该如何替换
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.