eagerai / tfaddons Goto Github PK
View Code? Open in Web Editor NEWR interface to TensorFlow 2.x SIG-Addons
Home Page: https://eagerai.github.io/tfaddons/
License: Apache License 2.0
R interface to TensorFlow 2.x SIG-Addons
Home Page: https://eagerai.github.io/tfaddons/
License: Apache License 2.0
Hi,
Thank you for defining the wrapper for R. I think there is a problem with the tfaddons::metric_rsquare()
. I tried running the example in the documentation, but there is an undefined variable (r1
) . Do you also have a problem running it on your side? If not then I will send a repex.
Dear Reader,
I have tensorflow version 2.6 running on a M1 mac, and have been using it through R + Keras API in an analysis. I would also like to use the tensorflow-addons package, however I don't think I can use the given version, i.e. 0.10.0, in my analysis? I use wonder if there is a way to use the tensorflow-addons-0.10.0 package in my current setup, or do I have to down grade my tensorflow version to 2.2?
Kindest Regards,
Colin.
Why I get the following while specifying the loss function "loss_npairs"?
Not implemented in TF 2.1 Windows
The current development version seems to be failing, but the CRAN release works.
devtools::install_github('henry090/tfaddons')
Downloading GitHub repo EagerAI/tfaddons@HEAD
√ checking for file 'C:\Local\Temp\RtmpSwGaoM\remotes37a05530796\EagerAI-tfaddons-46ab9d3/DESCRIPTION' ...
- preparing 'tfaddons': (581ms)
√ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts (488ms)
- checking for empty or unneeded directories
- building 'tfaddons_0.10.1.tar.gz'
Installing package into ‘C:/project/renv/library/R-4.0/x86_64-w64-mingw32’
(as ‘lib’ is unspecified)
* installing *source* package 'tfaddons' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'tfaddons'
finding HTML links ... done
activation_gelu html
activation_hardshrink html
activation_lisht html
activation_mish html
activation_rrelu html
activation_softshrink html
activation_sparsemax html
activation_tanhshrink html
attention_bahdanau html
attention_bahdanau_monotonic html
attention_luong html
attention_luong_monotonic html
attention_monotonic html
attention_wrapper html
attention_wrapper_state html
callback_average_model_checkpoint html
callback_time_stopping html
callback_tqdm_progress_bar html
crf_binary_score html
crf_decode html
crf_decode_backward html
crf_decode_forward html
crf_forward html
crf_log_likelihood html
crf_log_norm html
crf_multitag_sequence_score html
crf_sequence_score html
crf_unary_score html
decode_dynamic html
decoder html
decoder_base html
decoder_basic html
decoder_basic_output html
decoder_beam_search html
decoder_beam_search_output html
decoder_beam_search_state html
decoder_final_beam_search_output html
extend_with_decoupled_weight_decay html
gather_tree html
gather_tree_from_array html
hardmax html
img_adjust_hsv_in_yiq html
img_angles_to_projective_transforms html
img_blend html
img_compose_transforms html
img_connected_components html
img_cutout html
img_dense_image_warp html
img_equalize html
img_euclidean_dist_transform html
img_flat_transforms_to_matrices html
img_from_4D html
img_get_ndims html
img_interpolate_bilinear html
img_interpolate_spline html
img_matrices_to_flat_transforms html
img_mean_filter2d html
img_median_filter2d html
img_random_cutout html
img_random_hsv_in_yiq html
img_resampler html
img_rotate html
img_sharpness html
img_shear_x html
img_shear_y html
img_sparse_image_warp html
img_to_4D html
img_transform html
img_translate html
img_translate_xy html
img_translations_to_projective_transforms
html
img_unwrap html
img_wrap html
install_tfaddons html
layer_activation_gelu html
layer_correlation_cost html
layer_filter_response_normalization html
layer_group_normalization html
layer_instance_normalization html
layer_maxout html
layer_multi_head_attention html
layer_nas_cell html
layer_norm_lstm_cell html
layer_poincare_normalize html
layer_sparsemax html
layer_weight_normalization html
lookahead_mechanism html
loss_contrastive html
loss_giou html
loss_hamming html
loss_lifted_struct html
loss_npairs html
loss_npairs_multilabel html
loss_pinball html
loss_sequence html
loss_sigmoid_focal_crossentropy html
loss_sparsemax html
loss_triplet_hard html
loss_triplet_semihard html
metric_cohen_kappa html
metric_fbetascore html
metric_hamming_distance html
metric_mcc html
metric_multilabel_confusion_matrix html
metric_rsquare html
metrics_f1score html
optimizer_conditional_gradient html
optimizer_decay_adamw html
optimizer_decay_sgdw html
optimizer_lamb html
optimizer_lazy_adam html
optimizer_moving_average html
optimizer_novograd html
optimizer_radam html
optimizer_swa html
optimizer_yogi html
parse_time html
reexports html
register_all html
register_custom_kernels html
register_keras_objects html
safe_cumprod html
sample_bernoulli html
sample_categorical html
sampler html
sampler_custom html
sampler_greedy_embedding html
sampler_inference html
sampler_sample_embedding html
sampler_scheduled_embedding_training html
sampler_scheduled_output_training html
sampler_training html
skip_gram_sample html
skip_gram_sample_with_text_vocab html
tfaddons_version html
tile_batch html
viterbi_decode html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'tfaddons' in library.dynam(lib, package, package.lib):
DLL 'Rcpp' not found: maybe not installed for this architecture?
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/project/renv/library/R-4.0/x86_64-w64-mingw32/tfaddons'
* restoring previous 'C:/project/renv/library/R-4.0/x86_64-w64-mingw32/tfaddons'
I run this installation via renv
and installing Rcpp
didn't seem to help.
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.