wphogan / finecl Goto Github PK
View Code? Open in Web Editor NEWRepository for Fine-grained Contrastive Learning for Relation Extraction
Repository for Fine-grained Contrastive Learning for Relation Extraction
I run the command CUDA_VISIBLE_DEVICES=0 python run.py experiment=stage_1.yaml erica_file_num=0
in stage 1 and the following error occurs.
/home/wmni/anaconda3/envs/finecl/lib/python3.9/site-packages/apex/amp/wrap.py:101: UserWarning: This overload of add_ is deprecated:
add_(Number alpha, Tensor other)
Consider using one of the following signatures instead:
add_(Tensor other, *, Number alpha) (Triggered internally at /opt/conda/conda-bld/pytorch_1659484809662/work/torch/csrc/utils/python_arg_parser.cpp:1174.)
return orig_fn(arg0, *args, **kwargs)
I use python3.9 and pytorch 1.12.1 according to the instruction. But it seems that from pytorch 1.5, the default parameters of the add_() method have been changed. Is right to use pytorch 1.12.1 and python3.9 ?
I run the command CUDA_VISIBLE_DEVICES=0 python run.py experiment=stage_1.yaml erica_file_num=0
and the above error occurs.
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.