neuron-selectivity-transfer icon indicating copy to clipboard operation
neuron-selectivity-transfer copied to clipboard

怎么样将他用来训练人脸识别网络呢

Open ctgushiwei opened this issue 5 years ago • 0 comments

ctgushiwei avatar Jan 16 '20 01:01 ctgushiwei

@xrep I face this same issue. As temporary escape for this, I merged three proto files to one file... Of course, I'm very aware this solution is not better essentially :(

Versions
Protocol Buffers v3.19.4
node: v14.15.1

ShogoSaito0607 avatar May 11 '22 12:05 ShogoSaito0607

We don't use commonjs often, so it's unclear what the issue is. We'll need to dig into this a bit to see what's going wrong.

dibenede avatar Aug 26 '22 22:08 dibenede

I'm having trouble reproducing this, so wondering if it's a subtlety of how your projects are structured. My test environment looks like:

project/
- protos/
-- foo.proto
-- foo_pb.js
-- bar.proto
-- bar_pb.js

- tests/
- - test.js

which was generated by running: protoc --plugin=../bin/protoc-gen-js --proto_path=./protos/ --js_out=import_style=commonjs,binary:./protos/ protos/*.proto from under project/

My tests/test.js has the following requires:

const foopb = require('../protos/foo_pb');
const barpb = require('../protos/bar_pb');

@jzfre @ShogoSaito0607 could either of you describe a project layout that's causing trouble for you?

dibenede avatar Oct 14 '22 23:10 dibenede

I'm wondering if OP got the error in a React.js app or something else. Today I ran into the same error in my React.js app and I created this repo to reproduce it. @dibenede I'm wondering if this can help you figure out something. See my README for more details (including some other existing work that provides a few workarounds).

yaobinwen avatar Dec 06 '22 02:12 yaobinwen