Comments (4)
@dara1822 I have fixed the bug, it is not important for training. Thank you very much for your suggestion.
from paperrobot.
got similar error
system: win8.1 + cuda10.1 + python 3.7 + pytorch1.1
C:\greenSoft\PaperRobot-master\New paper writing>python train.py --data_path dat a/pubmed_abstract --model_dp abstract_model/ --batch_size=10
`Model location: abstract_model/memory,lower=False,freq=5,word_dim=128,h=8,hop=3,
input_dropout_p=0.2,layer_dropout=0.2,gpu=True,batch_size=10,max_len=150,lr_meth
od=adam,lr_rate=0.001
Model parameters:
lower=False
freq=5
word_dim=128
h=8
hop=3
pre_emb=
input_dropout_p=0.2
layer_dropout=0.2
gpu=True
batch_size=10
max_len=150
lr_method=adam
lr_rate=0.001
data_path=data/pubmed_abstract
Found 25133 unique words (16508545 in total)
22811 / 2095 pairs in train / dev.
train batches 2282
Epoch 0/99
2281 batches processed. current batch loss: 6.061568
Finished epoch 0: Train Avg NLLLoss: 6.4136
Traceback (most recent call last):
File "train.py", line 261, in
eval_f = Evaluate()
File "C:\greenSoft\PaperRobot-master\New paper writing\eval.py", line 15, in _
init_
(Meteor(), "METEOR"),
File "C:\greenSoft\PaperRobot-master\New paper writing\pycocoevalcap\meteor\me
teor.py", line 20, in init
stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, buf
size=1)
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python37\lib\subprocess.py",
line 775, in init
restore_signals, start_new_session)
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python37\lib\subprocess.py",
line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2]。
Exception ignored in: <function Meteor.del at 0x0000000FECFBDD90>
Traceback (most recent call last):
File "C:\greenSoft\PaperRobot-master\New paper writing\pycocoevalcap\meteor\me
teor.py", line 59, in del
self.lock.acquire()
AttributeError: 'Meteor' object has no attribute 'lock' `
Thought the training already finished, the METEOR error does not matter?
from paperrobot.
from paperrobot.
I have commented out meteor in the current version, you can try to pull it again, because we don't use it in training @demonlj
from paperrobot.
Related Issues (20)
- How 'terms' are related to KB HOT 6
- excellent completed work !! can you share some details about how to produce the dataset,such as entity_text_title_tokenized.json,term.pth in PubMed Paper Reading Dataset ? thanks HOT 36
- Confusingly slow on testing of existing_model_reading model HOT 5
- 处理one-hop节点的代码的一个疑问 HOT 4
- It said that I need to have more RAM?tks HOT 12
- How many epoches do you use in these two tasks? HOT 3
- Training part of the dataset HOT 2
- --
- Model weights sharing and training stopping criterion HOT 3
- Something has been deprecated. HOT 1
- How to generate KGs? HOT 4
- Questions about code and paper_reading dataset HOT 2
- 这个项目现在还更新吗,还有人在使用吗?
- PubTator-MeSH-CTD HOT 1
- CUDA out of memory HOT 7
- Are new entities formed or just links? HOT 2
- RuntimeError HOT 13
- TypeError: can't convert np.ndarray of type numpy.int32. HOT 18
- TypeError: can't convert np.ndarray of type numpy.int32. HOT 3
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 paperrobot.